summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-01-15 18:51:41 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-01-29 09:38:32 +0100
commit113c4b1f7f62c0de3a18fd087d88814facb6ce7e (patch)
tree2de3e75291663e2e6fc07f215cb0b110a832aaf8 /.travis.yml
parent5319d20636a58fec47f54f5d497dcb91a089fd22 (diff)
Ensure build script is exited early when failures happen
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
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: