Modify TravisCI caching policy

This commit is contained in:
sharkdp 2018-10-19 22:14:18 +02:00
parent 857cc215b4
commit 7082fd09f0
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
language: rust
cache: cargo
matrix:
include:
# Stable channel.
@ -103,3 +103,10 @@ deploy:
notifications:
email:
on_success: never
# Caching
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry