Browse Source

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.
master
Jack Grigg 5 years ago
parent
commit
7fa51e38c0
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
  1. 2
      .travis.yml

2
.travis.yml

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

Loading…
Cancel
Save