Add a dedicated clippy builder
This commit is contained in:
parent
07d60a6c79
commit
03ad50b389
1 changed files with 3 additions and 5 deletions
|
@ -8,14 +8,12 @@ matrix:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
- rust: 1.13.0
|
- rust: 1.13.0
|
||||||
script: cargo build
|
script: cargo build
|
||||||
|
- rust: nightly
|
||||||
|
script: rustup component add clippy-preview && cargo clippy -- -Dclippy
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
|
script: rustup component add clippy-preview && cargo clippy -- -Dclippy
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- |
|
|
||||||
if [ "$TRAVIS_RUST_VERSION" = nightly ]; then
|
|
||||||
cargo install clippy --debug
|
|
||||||
cargo clippy -- -Dclippy
|
|
||||||
fi
|
|
||||||
- cargo test --verbose
|
- cargo test --verbose
|
||||||
|
|
Loading…
Reference in a new issue