Modify TravisCI caching policy

This commit is contained in:
sharkdp committed 2018-10-19 23:06:25 +02:00
1 parent 857cc215b4
commit 7082fd09f0
1 file changed
+8 -1
+8 -1
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