Skip to content

Commit 51f720a

Browse files
no111u3mvertescher
authored andcommitted
Add format checking for ci-builds
1 parent 3c4c5f1 commit 51f720a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
language: rust
2+
before_script:
3+
- rustup component add rustfmt
24
rust:
35
- stable
46
- nightly
@@ -26,6 +28,7 @@ script:
2628
- rustup target add thumbv7em-none-eabihf
2729
- cargo build --features=$MCU --verbose
2830
- cargo build --features=$MCU --release --verbose
31+
- cargo fmt --all -- --check
2932
notifications:
3033
email:
3134
on_success: never

0 commit comments

Comments
 (0)