Ensure build script is exited early when failures happen
This commit is contained in:
parent
5319d20636
commit
113c4b1f7f
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue