From 5458a73cee545d9930381e9d830385a719c79b04 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 29 Jul 2016 11:26:49 -0700 Subject: [PATCH] Fix travis build - specify destination, seeing it install app on different device than it was running the tests - xcpretty for legible output // FREEBIE --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index edca505d5..12028da38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ before_install: - cd $TEST_DIR - brew update - brew outdated xctool || brew upgrade xctool - - gem install cocoapods --no-ri --no-rdoc + - gem install cocoapods xcpretty --no-ri --no-rdoc - pod repo update --silent install: pod install @@ -16,7 +16,11 @@ install: pod install script: - | set -o pipefail - xcodebuild -workspace TSKitiOSTestApp.xcworkspace -scheme TSKitiOSTestApp -sdk iphonesimulator build test + xcodebuild -workspace TSKitiOSTestApp.xcworkspace \ + -scheme TSKitiOSTestApp \ + -sdk iphonesimulator \ + -destination 'platform=iOS Simulator,name=iPhone 6' \ + build test | xcpretty xcode_workspace: TSKitiOSTestApp.xcworkspace xcode_scheme: TSKitiOSTestApp