Modify TravisCI caching policy

This commit is contained in:
sharkdp 2018-10-19 22:14:18 +02:00
parent 857cc215b4
commit 7082fd09f0

View File

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