Skip to content

Commit d0c20b0

Browse files
committed
Keep the rustc master install in the travis file so we can use travis_retry
1 parent f226101 commit d0c20b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ matrix:
5050
- env: INTEGRATION=hyperium/hyper
5151

5252
script:
53+
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
54+
- RUSTC_HEAD=`git ls-remote https://github.com/rust-lang/rust.git HEAD | tr -d ",." | tr " \t" "\n" | grep -e "HEAD" -v`
55+
- travis_retry rustup-toolchain-install-master $RUSTC_HEAD
56+
- rustup default $RUSTC_HEAD
5357
- |
5458
if [ -z ${INTEGRATION} ]; then
5559
./ci/base-tests.sh

ci/base-tests.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
set -ex
2-
cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
3-
RUSTC_HEAD=`git ls-remote https://github.com/rust-lang/rust.git HEAD | tr -d ",." | tr " \t" "\n" | grep -e "HEAD" -v`
4-
travis_retry rustup-toolchain-install-master $RUSTC_HEAD
5-
rustup default $RUSTC_HEAD
62
PATH=$PATH:./node_modules/.bin
73
remark -f *.md > /dev/null
84
cargo build --features debugging

0 commit comments

Comments
 (0)