diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index e151cc8f0..87b546442 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_*,*heavy_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: |
@@ -43,10 +41,9 @@ matrix: | |||
43 | - xvfb | 41 | - xvfb |
44 | before_install: cd editors/code | 42 | before_install: cd editors/code |
45 | install: | 43 | install: |
46 | - npm install | 44 | - npm ci |
47 | - npm run vscode:prepublish | 45 | - npm run vscode:prepublish |
48 | script: | 46 | script: |
49 | - npm ci | ||
50 | - npm run travis | 47 | - npm run travis |
51 | env: | 48 | env: |
52 | - CXX="g++-4.9", CC="gcc-4.9" | 49 | - CXX="g++-4.9", CC="gcc-4.9" |