Skip to content

Commit

Permalink
Enforce cargo fmt in Travis
Browse files Browse the repository at this point in the history
Closes #198.
  • Loading branch information
tmandry committed Jan 14, 2019
1 parent 6360e4c commit 0f7d566
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 @@ -3,8 +3,11 @@ rust:
- beta
- nightly
script:
# RUSTC_BOOTSTRAP enables e.g. #![feature] on beta
- rustup component add rustfmt
- cd chalk-engine && RUSTC_BOOTSTRAP=1 cargo build --no-default-features && cd ..
- cd chalk-engine && RUSTC_BOOTSTRAP=1 cargo build --all-features && cd ..
- cargo fmt --all -- --check
- RUSTC_BOOTSTRAP=1 cargo test --all
- RUSTC_BOOTSTRAP=1 cargo doc --all --document-private-items
deploy:
Expand Down

0 comments on commit 0f7d566

Please sign in to comment.