diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-01-15 18:51:41 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-01-29 09:38:32 +0100 |
commit | 113c4b1f7f62c0de3a18fd087d88814facb6ce7e (patch) | |
tree | 2de3e75291663e2e6fc07f215cb0b110a832aaf8 | |
parent | 5319d20636a58fec47f54f5d497dcb91a089fd22 (diff) |
Ensure build script is exited early when failures happen
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index bb49062d..38efdf12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,9 @@ addons: - pkg-config script: - - cargo build --all --all-features -j 1 - - cargo test --all --all-features -j 1 + - | + cargo build --all --all-features -j 1 || exit 1 + cargo test --all --all-features -j 1 || exit 1 notifications: email: |