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 May 27, 2020
1 parent 3ce711a commit ab7c448
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 ab7c448

Please sign in to comment.