language: rust
rust: nightly
sudo: false
-cache: cargo
+
+cache:
+ cargo: true
+ directories:
+ - clippy_lints/target
env:
global:
- 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