diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:35:00 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:35:51 +0100 |
commit | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (patch) | |
tree | 44c5cfbb9a2e214363fbfa1968392b1eeb1a1b8f | |
parent | bf3030404ef8a161334326bad706f60ee8838f63 (diff) |
switch back to old cleaning strategy
Turns out, Cargo is pretty bad at cleaning after itself: I see .rmeta,
.rlib and .d files after clean :(
-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: |