Use clippy with travis

embedded-hal-1.0
Chris 2018-10-30 09:50:50 +01:00
parent 550338a1ae
commit 297f92a99e
1 changed files with 2 additions and 2 deletions

View File

@ -94,11 +94,11 @@ install:
- cargo install cargo-travis || true - cargo install cargo-travis || true
- rustup override set nightly - rustup override set nightly
- rustup target add thumbv7m-none-eabi - rustup target add thumbv7m-none-eabi
- rustup component add clippy-preview
script: script:
- cargo check - cargo check
- cargo build --release - cargo clippy --all-targets --all-features -- -D warnings
- cargo test
- cargo test --all-features --release - cargo test --all-features --release
- cargo doc --all-features --release - cargo doc --all-features --release
- cd examples/embedded_linux_epd4in2 && cargo check && cd ../../ - cd examples/embedded_linux_epd4in2 && cargo check && cd ../../