Skip to content

Commit 0f7d566

Browse files
committed
Enforce cargo fmt in Travis
Closes #198.
1 parent 6360e4c commit 0f7d566

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ rust:
33
- beta
44
- nightly
55
script:
6+
# RUSTC_BOOTSTRAP enables e.g. #![feature] on beta
7+
- rustup component add rustfmt
68
- cd chalk-engine && RUSTC_BOOTSTRAP=1 cargo build --no-default-features && cd ..
79
- cd chalk-engine && RUSTC_BOOTSTRAP=1 cargo build --all-features && cd ..
10+
- cargo fmt --all -- --check
811
- RUSTC_BOOTSTRAP=1 cargo test --all
912
- RUSTC_BOOTSTRAP=1 cargo doc --all --document-private-items
1013
deploy:

0 commit comments

Comments
 (0)