Skip to content

Commit

Permalink
automation: Enforce cargo fmt in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
almusil committed Jun 8, 2020
1 parent 936c9d8 commit 5a744a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ matrix:
# - env: MCU=stm32l082 PACKAGE=wlcsp49
before_script:
- rustup target add thumbv6m-none-eabi
- rustup component add rustfmt
script:
- RUSTFLAGS="-D warnings" cargo build --release --examples --features="rt $MCU $IO $PACKAGE $FEATURES"
- cargo fmt --all -- --check

0 comments on commit 5a744a4

Please sign in to comment.