Skip to content

Commit

Permalink
CI: polish cache issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mssun committed Aug 17, 2018
1 parent 96b4b69 commit b79cb80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
@@ -1,5 +1,4 @@
language: rust
cache: cargo
rust:
- stable
- nightly
Expand Down Expand Up @@ -59,6 +58,10 @@ before_script:
script:
- cargo build --verbose --all --target $TARGET
- if [[ "$TEST" == "1" ]]; then cargo test --release --verbose --all; fi
cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
notifications:
email:
on_success: never

0 comments on commit b79cb80

Please sign in to comment.