]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
Support `ExprType` (type ascription) comparison
[rust.git] / .travis.yml
index b65c8a7c1dd3f038d65f13502c5fe7c34663a543..35522913a0115ec42092bf25935d83ef4c4a2282 100644 (file)
@@ -2,6 +2,11 @@ language: rust
 rust: nightly
 sudo: false
 
+cache:
+  cargo: true
+  directories:
+  - clippy_lints/target
+
 env:
  global:
    # TRAVIS_TOKEN_CLIPPY_SERVICE
@@ -14,9 +19,9 @@ install:
   - npm install remark-cli remark-lint
 
 script:
- - set -e
  - remark -f README.md > /dev/null
  - python util/update_lints.py -c
+ - set -e
  - cargo build --features debugging
  - cargo test --features debugging
  - mkdir -p ~/rust/cargo/bin
@@ -25,13 +30,7 @@ script:
  - cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ..
 
 after_success:
-# only test regex_macros if it compiles
-- |
-    #!/bin/bash
-    cargo test --no-run --features 'debugging test-regex_macros'
-    if [ "$?" != 101 ]; then
-        cargo test --features 'debugging test-regex_macros' compile_test
-    fi
+- ./.github/deploy.sh
 # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
 - |
     #!/bin/bash