mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
added cargo fmt to travis
This commit is contained in:
+3
-1
@@ -95,11 +95,13 @@ install:
|
|||||||
- 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
|
- rustup component add clippy-preview
|
||||||
|
- rustup component add rustfmt-preview
|
||||||
|
|
||||||
#TODO: remove -A clippy::new_ret_no_self when new version of clippy gets released!
|
#TODO: remove -A clippy::new_ret_no_self when new version of clippy gets released!
|
||||||
script:
|
script:
|
||||||
- cargo check
|
- cargo fmt --all -- --check
|
||||||
- cargo clippy --all-targets --all-features -- -D warnings -A clippy::new_ret_no_self
|
- cargo clippy --all-targets --all-features -- -D warnings -A clippy::new_ret_no_self
|
||||||
|
- cargo check
|
||||||
- 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