Skip to content

Commit

Permalink
Check rustfmt on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Jan 14, 2019
1 parent 5d19e63 commit c2e91d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ branches:
- trying.tmp
- staging.tmp

before_script:
- rustup component add rustfmt

script:
- cargo fmt -- --check

- cargo build --verbose --features "$FEATURES"
- cargo test --verbose --features "$FEATURES"
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo bench --verbose --features "$FEATURES"; fi
Expand Down

0 comments on commit c2e91d3

Please sign in to comment.