From 372d75cc098edf90558e171767a41328f4b67042 Mon Sep 17 00:00:00 2001 From: Rajiv Shah Date: Mon, 25 May 2020 22:15:39 -0400 Subject: [PATCH] Fail the build if xcodebuild runs into an error --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d4153edd..711ea0bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ osx_image: - xcode10.3 - xcode11.4 script: - - xcodebuild -scheme Distribution -configuration Coverage -derivedDataPath build | xcpretty + - set -o pipefail && xcodebuild -scheme Distribution -configuration Coverage -derivedDataPath build | xcpretty