From 0f6951249ef444a92769186e26b0b865d4e95617 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 May 2019 10:17:29 +0300 Subject: don't remove tools from cache On CI, we remove this project's artifacts from ./target before caching it. This way, cache never changes, because it only caches deps. We do this approximatelly, and, together with our own tools crate, we also remove itertools, which are used by some other deps. Given that tools change rarely, let's just cache them? --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index c6e22d765..abaa1d2d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ cache: cargo before_cache: - find ./target/debug -maxdepth 1 -type f -delete - - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*tools*,*gen_lsp*,*thread_worker*} + - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*gen_lsp*,*thread_worker*} - rm -f ./target/.rustc_info.json matrix: -- cgit v1.2.3