Skip to content

Commit

Permalink
Update Travis configuration for Xcode 8 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mats-claassen authored May 2, 2017
1 parent 6aefd45 commit b06edda
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
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

0 comments on commit b06edda

Please sign in to comment.