aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-20 15:22:32 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-20 15:22:32 +0100
commit6929da6518f6fdd98ec7f36898dd9b02ae159d53 (patch)
tree3e3e2754ba00e4834a10126284e034d1c66077c3
parent3983ccca4ac46bb7b206a5b373b10c9822280931 (diff)
parentc8d762ddffe3e71415f370b32c3e89226ebd035c (diff)
Merge #1567
1567: speedup CI r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r--.travis.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index e5960ebca..8ac01171f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,9 @@
1cache: cargo 1cache: cargo
2before_cache: 2before_cache:
3 - find ./target/debug -maxdepth 1 -type f -delete 3 # ask Cargo to clean up artifacts for workspace crates
4 - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*gen_lsp*,*thread_worker*} 4 - cargo clean $(printf -- '--package %s ' $(cd crates; ls))
5 # Cargo doesn't clean up depinfo itself, do it manually
6 - find ./target/debug -maxdepth 2 -iname '*.d' -delete
5 - rm -f ./target/.rustc_info.json 7 - rm -f ./target/.rustc_info.json
6 8
7matrix: 9matrix:
@@ -14,6 +16,7 @@ matrix:
14 script: 16 script:
15 - rustup component add rustfmt 17 - rustup component add rustfmt
16 - rustup component add rust-src 18 - rustup component add rust-src
19 - printf "\n\n[profile.dev]\ndebug = false\nopt-level = 1\n" >> Cargo.toml
17 - cargo test --no-run # let's measure compile time separately 20 - cargo test --no-run # let's measure compile time separately
18 - cargo test 21 - cargo test
19 env: 22 env: