From bf119754fff66ef3f237cdcae608cfbff0b18cdb Mon Sep 17 00:00:00 2001 From: Ernie Turner Date: Thu, 21 Feb 2019 14:26:25 -0700 Subject: [PATCH] #53 Adjust travis cache for Rust projects to avoid gig caches and build for multiple archs (#56) * #53 Adjust travis cache for Rust projects to avoid gig caches * Attempt to build and test for multiple architectures * Remove cross compile archs and only deal with travis Rust cache for now --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ef528b8..b06b4ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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