Skip to content

Commit

Permalink
Add retry logic to Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Dec 18, 2019
1 parent 09dbb49 commit 6201671
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ arch:
- arm64

language: rust
install: travis_retry
rust:
- nightly-2019-08-15

Expand All @@ -14,7 +15,7 @@ script:
# Sccache
# - curl -L https://github.com/mozilla/sccache/releases/download/0.2.10/sccache-0.2.10-x86_64-unknown-linux-musl.tar.gz | tar xzf -
# - export RUSTC_WRAPPER=`pwd`/sccache-0.2.10-x86_64-unknown-linux-musl/sccache
- test -f /home/travis/.cargo/bin/sccache || cargo install sccache
- test -f /home/travis/.cargo/bin/sccache || travis_retry cargo install sccache
- export RUSTC_WRAPPER=/home/travis/.cargo/bin/sccache
- mkdir -p /home/travis/.sccache/
- export SCCACHE_DIR="/home/travis/.sccache/"
Expand Down

0 comments on commit 6201671

Please sign in to comment.