Skip to content

Commit bc97543

Browse files
committed
Actually check rustfmt in CI
The previous incantation was simply *never* running rustfmt in CI, rather than only running rustfmt on the nightly build.
1 parent 391a54b commit bc97543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ script:
4949
- travis-cargo clippy -- --all-targets --all-features -- -D warnings
5050
- travis-cargo build
5151
- travis-cargo test
52-
- travis-cargo --only nightly fmt -- -- --check --config-path <(echo 'license_template_path = "HEADER"')
52+
- cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
5353

5454
after_success:
5555
- cargo coveralls --verbose

0 commit comments

Comments
 (0)