Actually check rustfmt in CI

The previous incantation was simply *never* running rustfmt in CI,
rather than only running rustfmt on the nightly build.
This commit is contained in:
Nikhil Benesch 2019-06-19 00:08:19 -04:00
parent 391a54b5a3
commit bc97543df3
No known key found for this signature in database
GPG key ID: FCF98542083C5A69

View file

@ -49,7 +49,7 @@ script:
- travis-cargo clippy -- --all-targets --all-features -- -D warnings
- travis-cargo build
- travis-cargo test
- travis-cargo --only nightly fmt -- -- --check --config-path <(echo 'license_template_path = "HEADER"')
- cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
after_success:
- cargo coveralls --verbose