Skip to content

Commit

Permalink
Enfore rustfmt in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eqrion committed May 31, 2018
1 parent 155b540 commit 9674524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ language: rust
cache: cargo
rust:
- nightly
before_script:
- rustup component add rustfmt-preview
addons:
apt:
sources:
Expand All @@ -12,6 +14,7 @@ addons:
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
script:
- cargo fmt --all -- --check
- cargo build --verbose
- cargo test --verbose
- python test.py -v

0 comments on commit 9674524

Please sign in to comment.