]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
don't depend on regex_macros anymore
[rust.git] / .travis.yml
index 0d5a6bc9fce62a48a00cae609d7d48cdfdf73616..34e50956cc56b8b1a4d912866bd384c4f4a465c7 100644 (file)
@@ -1,6 +1,7 @@
 language: rust
 rust: nightly
 sudo: false
+cache: cargo
 
 env:
  global:
@@ -21,17 +22,10 @@ script:
  - cargo test --features debugging
  - mkdir -p ~/rust/cargo/bin
  - cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
- - cargo clippy -- -D clippy
- - cd clippy_lints && cargo clippy -- -D clippy && cd ..
+ - PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy
+ - 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
 # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
 - |
     #!/bin/bash