From 7fa51e38c05613c86ac3502466930d15381eb8e5 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 22 Aug 2019 15:18:50 +0100 Subject: [PATCH] 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. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 85dfd70..f0f9e46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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