From 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 24 Jul 2019 12:35:00 +0300 Subject: 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 :( --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index e151cc8f0..4829a34c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,7 @@ cache: cargo before_cache: - # ask Cargo to clean up artifacts for workspace crates - - cargo clean $(printf -- '--package %s ' $(cd crates; ls)) - # Cargo doesn't clean up depinfo itself, do it manually - - find ./target/debug -maxdepth 2 -iname '*.d' -delete + - find ./target/debug -maxdepth 1 -type f -delete + - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*gen_lsp*,*thread_worker*} - rm -f ./target/.rustc_info.json matrix: -- cgit v1.2.3 From 459241f272748ff2e57b2c7e84f5a04f78d67edb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 24 Jul 2019 12:38:21 +0300 Subject: move syntax tests to unit tests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 4829a34c7..d0d8311fe 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*,*gen_lsp*,*thread_worker*} + - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*heavy_test*,*gen_lsp*,*thread_worker*} - rm -f ./target/.rustc_info.json matrix: -- cgit v1.2.3