Use clippy with travis
parent
550338a1ae
commit
297f92a99e
|
|
@ -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 ../../
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue