Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Commit ff3540e

Browse files
committed
Enable Rustfmt on CI
Fixes #48
1 parent 6792df3 commit ff3540e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ matrix:
99
include:
1010
- rust: nightly-2017-10-09
1111
env: CLIPPY=YESPLEASE
12+
before_script: |
13+
cargo +nightly-2017-10-09 install clippy --vers "0.0.165"
1214
script: |
13-
cargo +nightly-2017-10-09 install clippy --vers "0.0.165"
14-
cargo +nightly-2017-10-09 clippy -- -D warnings
15+
cargo +nightly-2017-10-09 clippy -- -D warnings
16+
- rust: nightly-2017-10-09
17+
env: RUSTFMT=YESPLEASE
18+
before_script: |
19+
cargo +nightly-2017-10-09 install rustfmt-nightly --vers "0.2.8"
20+
script: |
21+
cargo +nightly-2017-10-09 fmt --all -- --write-mode=diff
1522
before_script:
1623
- |
1724
pip install 'travis-cargo<0.2' --user &&

0 commit comments

Comments
 (0)