From 5754fce668b5cb147042005f4197f8a2411d3d95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 21 Mar 2017 11:10:25 +0100 Subject: [PATCH] package/ci: don't exit if iOS build *doesn't* fail. That was a brainfart. --- package/ci/travis-ios-simulator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ci/travis-ios-simulator.sh b/package/ci/travis-ios-simulator.sh index 8b6f6b53a..f149fd199 100755 --- a/package/ci/travis-ios-simulator.sh +++ b/package/ci/travis-ios-simulator.sh @@ -31,7 +31,7 @@ cmake .. \ -DTESTSUITE_TARGET_XCTEST=ON \ -DWITH_INTERCONNECT=OFF \ -G Xcode -cmake --build . --config Release --target install | xcpretty && exit ${PIPESTATUS[0]} +set -o pipefail && cmake --build . --config Release --target install | xcpretty cd ../.. # Crosscompile Magnum @@ -59,7 +59,7 @@ cmake .. \ -DBUILD_TESTS=ON \ -DBUILD_GL_TESTS=ON \ -G Xcode -cmake --build . --config Release | xcpretty && exit ${PIPESTATUS[0]} +set -o pipefail && cmake --build . --config Release | xcpretty # TODO: find a better way to avoid # Library not loaded: /System/Library/Frameworks/OpenGLES.framework/OpenGLES # error