]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
Merge #1663
[rust.git] / .travis.yml
index e151cc8f084daf79754561db4564e85e34e914d1..87b546442f70388d160a11407edc86365466cd35 100644 (file)
@@ -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_*,*heavy_test*,*gen_lsp*,*thread_worker*}
     - rm -f  ./target/.rustc_info.json
 
 matrix:
@@ -43,10 +41,9 @@ matrix:
             - xvfb
           before_install: cd editors/code
           install:
-            - npm install
+            - npm ci
             - npm run vscode:prepublish
           script:
-            - npm ci
             - npm run travis
           env:
             - CXX="g++-4.9", CC="gcc-4.9"