Prevent Travis from caching binary objects (#135)

* Prevent Travis from caching binary objects

* Add one more folder to `rm` in .travis.yml
This commit is contained in:
Daniel Sockwell 2020-04-21 17:52:06 -04:00 committed by GitHub
parent 6d9797ecc0
commit 4a456c6e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,15 @@ rust:
jobs:
fast_finish: true
cache: cargo
before_cache:
- rm -rfv "$TRAVIS_HOME/.cargo/registry/src"
- rm -rfv target/debug/incremental/flodgatt-*
- rm -rfv target/debug/.fingerprint/flodgatt-*
- rm -rfv target/debug/build/flodgatt-*
- rm -rfv target/debug/deps/libflodgatt-*
- rm -rfv target/debug/deps/flodgatt-*
- rm -rfv target/debug/{flodgatt,libflodgatt}.d
- cargo clean -p flodgatt
branches:
only:
- master