Travis CI: Build before formatting check

cargo fmt does not build the code, and running it in a fresh clone of
the codebase will fail because the protobuf code has not been generated.
This commit is contained in:
Jack Grigg 2019-08-22 15:18:50 +01:00
parent 1e2bc7f65c
commit 7fa51e38c0
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898

View File

@ -14,8 +14,8 @@ before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
- cargo build --verbose --release --all
- cargo fmt --all -- --check
- cargo test --verbose --release --all
- cargo test --verbose --release --all -- --ignored