From f974609fc55bc058b87636294d161167ba5ef2ee Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Tue, 24 Jan 2017 12:12:12 +0100 Subject: [PATCH] fix(ci): Exit if make fails --- common/travis/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/travis/build.sh b/common/travis/build.sh index c73c7fb7..31f04177 100755 --- a/common/travis/build.sh +++ b/common/travis/build.sh @@ -1,2 +1,3 @@ #!/bin/bash -cd "${TRAVIS_BUILD_DIR}/build" && make -j"${JOBS}" +cd "${TRAVIS_BUILD_DIR}/build" || false +make -j"${JOBS}" || exit $?