Move rustfmt check down in travis yml

This is because we need to make sure the protos build before rustfmt
runs.
This commit is contained in:
Paul Hauner 2019-01-22 15:14:04 +11:00
parent df3c450723
commit bf1795a94e
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -7,9 +7,9 @@ before_install:
- sudo chown $USER /usr/local/bin/protoc
- sudo chown -R $USER /usr/local/include/google
script:
- cargo fmt --all -- --check
- cargo build --verbose --all
- cargo test --verbose --all
- cargo fmt --all -- --check
rust:
- stable
- beta