diff options
author | Aleksey Kladov <[email protected]> | 2019-05-30 08:17:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-05-30 08:17:29 +0100 |
commit | 0f6951249ef444a92769186e26b0b865d4e95617 (patch) | |
tree | 3be5848ee904e793984bfc210324dfa396db965f | |
parent | 8c3cd8f121d4306732423d1c8804d54e36bd706a (diff) |
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?
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index c6e22d765..abaa1d2d6 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,7 +1,7 @@ | |||
1 | cache: cargo | 1 | cache: cargo |
2 | before_cache: | 2 | before_cache: |
3 | - find ./target/debug -maxdepth 1 -type f -delete | 3 | - find ./target/debug -maxdepth 1 -type f -delete |
4 | - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*tools*,*gen_lsp*,*thread_worker*} | 4 | - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*gen_lsp*,*thread_worker*} |
5 | - rm -f ./target/.rustc_info.json | 5 | - rm -f ./target/.rustc_info.json |
6 | 6 | ||
7 | matrix: | 7 | matrix: |