travis: clippy and rustfmt

This commit is contained in:
Robert Jördens 2019-11-24 15:07:56 +01:00
parent b34fdf7c48
commit 2662bf8bbc
2 changed files with 5 additions and 2 deletions

1
.rustfmt.toml Normal file
View File

@ -0,0 +1 @@
max_width = 80

View File

@ -20,11 +20,13 @@ branches:
before_script:
- rustup target add thumbv7em-none-eabihf
# - rustup component add clippy
- rustup component add clippy
- rustup component add rustfmt
script:
# - cargo clippy
- "cargo build --target thumbv7em-none-eabihf --features \"$FEATURES\" $ARGS"
- cargo clippy
- cargo fmt --all -- --check
notifications:
email: false