mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Use clippy with travis
This commit is contained in:
+2
-2
@@ -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 ../../
|
||||||
|
|||||||
Reference in New Issue
Block a user