Ensure build script is exited early when failures happen

This commit is contained in:
Matthias Beyer 2018-01-15 18:51:41 +01:00
parent 5319d20636
commit 113c4b1f7f

View file

@ -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: