Skip to content

Commit 402fb21

Browse files
authored
travis: Add cargo fmt (#184)
Instructions are copied from the rustfmt README: https://github.com/rust-lang/rustfmt
1 parent 359a6f6 commit 402fb21

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
@@ -10,6 +10,9 @@ notifications:
1010
email:
1111
1212
13+
before_script:
14+
- rustup component add rustfmt
1315
script:
1416
- cargo build --verbose
1517
- cargo test --verbose
18+
- cargo fmt -- --check

0 commit comments

Comments
 (0)