Skip to content

Commit 2662bf8

Browse files
committed
travis: clippy and rustfmt
1 parent b34fdf7 commit 2662bf8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
max_width = 80

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ branches:
2020

2121
before_script:
2222
- rustup target add thumbv7em-none-eabihf
23-
# - rustup component add clippy
23+
- rustup component add clippy
24+
- rustup component add rustfmt
2425

2526
script:
26-
# - cargo clippy
2727
- "cargo build --target thumbv7em-none-eabihf --features \"$FEATURES\" $ARGS"
28+
- cargo clippy
29+
- cargo fmt --all -- --check
2830

2931
notifications:
3032
email: false

0 commit comments

Comments
 (0)