From 89572f13ef15a98f32ca56f3758f75bf83750077 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Mon, 17 Nov 2014 23:26:44 +0100 Subject: [PATCH] Fix `.travis.yml` to be sure to run the two UnitTests targets --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52dc5f94..577f30ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,5 @@ before_install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - - xcodebuild -project OHHTTPStubs/OHHTTPStubs.xcodeproj -scheme "OHHTTPStubs iOS" -sdk iphonesimulator -configuration Release test | xcpretty -c ; exit ${PIPESTATUS[0]} - - xcodebuild -project OHHTTPStubs/OHHTTPStubs.xcodeproj -scheme "OHHTTPStubs Mac" -sdk iphonesimulator -configuration Release test | xcpretty -c ; exit ${PIPESTATUS[0]} + - set -o pipefail && xcodebuild -project OHHTTPStubs/OHHTTPStubs.xcodeproj -scheme "OHHTTPStubs iOS" -sdk iphonesimulator -configuration Release ONLY_ACTIVE_ARCH=NO test | xcpretty -c + - set -o pipefail && xcodebuild -project OHHTTPStubs/OHHTTPStubs.xcodeproj -scheme "OHHTTPStubs Mac" -sdk iphonesimulator -configuration Release ONLY_ACTIVE_ARCH=NO test | xcpretty -c