Add cargo fmt to .travis.yml (#474)

* Run cargo fmt

* Add cargo fmt to travis.yml
This commit is contained in:
Paul Hauner
2019-07-31 14:45:09 +10:00
committed by GitHub
parent 309b10c4a8
commit 7738d51a72
2 changed files with 22 additions and 8 deletions

View File

@@ -11,6 +11,7 @@ before_install:
- sudo chown -R $USER /usr/local/include/google
script:
- cargo build --verbose --all --release
- cargo fmt --all -- --check
rust:
- beta
- nightly