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 2bafc688ff
commit 789e2ff216

View File

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