-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Travis configuration for Xcode 8 (#3)
- Loading branch information
1 parent
6aefd45
commit b06edda
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
language: objective-c | ||
osx_image: xcode7.2 | ||
osx_image: xcode8 | ||
env: | ||
- DESTINATION="OS=10.0,name=iPhone 6s" SCHEME="Example" SDK=iphonesimulator10.0 | ||
|
||
before_install: | ||
- brew update | ||
- brew outdated carthage || brew upgrade carthage | ||
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi | ||
- pod install --project-directory=TokenRow/Example | ||
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet | ||
|
||
script: | ||
- xctool clean build -workspace TokenRow/Example/Example.xcworkspace -scheme Example -sdk iphonesimulator | ||
- set -o pipefail && xcodebuild test -workspace TokenRow/Example/Example.xcworkspace -scheme Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty | ||
- xcodebuild clean build -workspace TokenRow/Example/Example.xcworkspace -scheme "$SCHEME" -sdk "$SDK" | ||
- xcodebuild test -workspace TokenRow/Example/Example.xcworkspace -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" | xcpretty -c |