Skip to content

Commit 7a9cf68

Browse files
committed
Reenable master build, unbreak CI
1 parent 481f788 commit 7a9cf68

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.travis.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: rust
22

3-
rust: nightly
3+
# change to nightly when https://github.com/rust-lang/rust/issues/55376 is fixed
4+
rust: nightly-2018-10-20
45

56
os:
67
- linux
@@ -75,14 +76,13 @@ matrix:
7576
- os: windows
7677

7778
script:
78-
# uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
79-
# - |
80-
# rm rust-toolchain
81-
# cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
82-
# RUSTC_HASH=$(git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}')
83-
# travis_retry rustup-toolchain-install-master -f -n master $RUSTC_HASH
84-
# rustup default master
85-
# export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
79+
- |
80+
rm rust-toolchain
81+
cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
82+
RUSTC_HASH=$(git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}')
83+
travis_retry rustup-toolchain-install-master -f -n master $RUSTC_HASH
84+
rustup default master
85+
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
8686
- |
8787
if [ -z ${INTEGRATION} ]; then
8888
./ci/base-tests.sh && sleep 5

appveyor.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ branches:
1515
- staging.tmp
1616

1717
install:
18-
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
19-
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
20-
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
21-
- git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
22-
- set /p RUSTC_HASH=<rustc-hash.txt
23-
# uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
24-
# - del rust-toolchain
25-
# - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
26-
# - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
27-
# - rustup default master
28-
# - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
18+
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
19+
# change to nightly when https://github.com/rust-lang/rust/issues/55376 is fixed
20+
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly-2018-10-20
21+
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
22+
- git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
23+
- set /p RUSTC_HASH=<rustc-hash.txt
24+
- del rust-toolchain
25+
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
26+
- rustup-toolchain-install-master %RUSTC_HASH% -f -n master
27+
- rustup default master
28+
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
2929
- rustc -V
3030
- cargo -V
3131

0 commit comments

Comments
 (0)