From 113c4b1f7f62c0de3a18fd087d88814facb6ce7e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 15 Jan 2018 18:51:41 +0100 Subject: Ensure build script is exited early when failures happen --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.travis.yml') 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: -- cgit v1.2.3