aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-24 10:35:00 +0100
committerAleksey Kladov <[email protected]>2019-07-24 10:35:51 +0100
commit4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (patch)
tree44c5cfbb9a2e214363fbfa1968392b1eeb1a1b8f
parentbf3030404ef8a161334326bad706f60ee8838f63 (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.yml6
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 @@
1cache: cargo 1cache: cargo
2before_cache: 2before_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
9matrix: 7matrix: