Skip to content

Commit

Permalink
#53 Adjust travis cache for Rust projects to avoid gig caches
Browse files Browse the repository at this point in the history
  • Loading branch information
ernieturner committed Feb 14, 2019
1 parent bdfbed8 commit dc78c3d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
language: rust
cache: cargo
rust:
- 1.32.0
# hopefully prevent the cache from becoming huge - https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
branches:
only:
- master
Expand Down

0 comments on commit dc78c3d

Please sign in to comment.