travis: clippy and rustfmt
This commit is contained in:
parent
b34fdf7c48
commit
2662bf8bbc
|
@ -0,0 +1 @@
|
||||||
|
max_width = 80
|
|
@ -20,11 +20,13 @@ branches:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- rustup target add thumbv7em-none-eabihf
|
- rustup target add thumbv7em-none-eabihf
|
||||||
# - rustup component add clippy
|
- rustup component add clippy
|
||||||
|
- rustup component add rustfmt
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# - cargo clippy
|
|
||||||
- "cargo build --target thumbv7em-none-eabihf --features \"$FEATURES\" $ARGS"
|
- "cargo build --target thumbv7em-none-eabihf --features \"$FEATURES\" $ARGS"
|
||||||
|
- cargo clippy
|
||||||
|
- cargo fmt --all -- --check
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
Loading…
Reference in New Issue