We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89bf51e commit 161e7c4Copy full SHA for 161e7c4
.travis.yml
@@ -20,11 +20,14 @@ before_cache: |
20
fi
21
before_script:
22
- rustup component add rustfmt
23
-script:
24
-- cargo clean
25
-- cargo fmt --all -- --check
26
-- cargo build
27
-- cargo test
+# As a result of https://github.com/travis-ci/travis-ci/issues/1066, we run
+# everything in one large command instead of multiple commands.
+# In this way, the build stops immediately if one of the commands fails.
+script: |
+ cargo clean &&
28
+ cargo fmt --all -- --check &&
29
+ cargo build &&
30
+ cargo test
31
after_success: |
32
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
33
cargo tarpaulin --out Xml
0 commit comments