diff options
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index e151cc8f0..4829a34c7 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,9 +1,7 @@ | |||
1 | cache: cargo | 1 | cache: cargo |
2 | before_cache: | 2 | before_cache: |
3 | # ask Cargo to clean up artifacts for workspace crates | 3 | - find ./target/debug -maxdepth 1 -type f -delete |
4 | - cargo clean $(printf -- '--package %s ' $(cd crates; ls)) | 4 | - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*gen_lsp*,*thread_worker*} |
5 | # Cargo doesn't clean up depinfo itself, do it manually | ||
6 | - find ./target/debug -maxdepth 2 -iname '*.d' -delete | ||
7 | - rm -f ./target/.rustc_info.json | 5 | - rm -f ./target/.rustc_info.json |
8 | 6 | ||
9 | matrix: | 7 | matrix: |