From 4a456c6e90be2e28651d62c7b2c1d1955178d52e Mon Sep 17 00:00:00 2001 From: Daniel Sockwell Date: Tue, 21 Apr 2020 17:52:06 -0400 Subject: [PATCH] Prevent Travis from caching binary objects (#135) * Prevent Travis from caching binary objects * Add one more folder to `rm` in .travis.yml --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index be7e9b5..aab62e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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