From b90e673dc0243c3c453e2d43eef8d3113202657d Mon Sep 17 00:00:00 2001 From: iska Date: Tue, 19 Jan 2016 21:36:50 +0100 Subject: [PATCH] Add command to start the simulator before building and running tests in travis.yml --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 77e3b09..4cda014 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ script: - set -o pipefail - xcodebuild -version - xcodebuild -showsdks -- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c +- open -b com.apple.iphonesimulator +- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO clean build | xcpretty -c - xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c