forked from nolanw/HTMLReader
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Travis to Xcode 8, stop using xctool, and trim out some minor …
…SDK tests.
- Loading branch information
Showing
4 changed files
with
91 additions
and
26 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,24 +1,85 @@ | ||
language: objective-c | ||
matrix: | ||
include: | ||
- osx_image: xcode7.2 | ||
env: TEST_SDK=macosx10.11 TEST_SCHEME="OS X" | ||
- osx_image: xcode7.2 | ||
env: TEST_SDK=iphonesimulator9.2 | ||
- osx_image: xcode7.1 | ||
env: TEST_SDK=iphonesimulator9.1 | ||
# Xcode 8: iOS 10, macOS 10.12, tvOS 10, watchOS 3 | ||
- osx_image: xcode8 | ||
env: | ||
- TEST_SDK="iphonesimulator10.0" | ||
- TEST_SCHEME="iOS" | ||
- DESTINATION="OS=10.0,name=iPhone 7 Plus" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode8 | ||
env: | ||
- TEST_SDK="macosx10.12" | ||
- TEST_SCHEME="OS X" | ||
- DESTINATION="arch=x86_64" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode8 | ||
env: | ||
- TEST_SDK="appletvsimulator10.0" | ||
- TEST_SCHEME="tvOS" | ||
- DESTINATION="OS=10.0,name=Apple TV 1080p" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode8 | ||
env: | ||
- TEST_SDK="watchsimulator3.0" | ||
- TEST_SCHEME="watchOS" | ||
- DESTINATION="OS=3.0,name=Apple Watch - 42mm" | ||
- TEST_ACTION="build" | ||
# Xcode 7.3: iOS 9, OS X 10.11, tvOS 9, watchOS 2 | ||
- osx_image: xcode7.3 | ||
env: | ||
- TEST_SDK="iphonesimulator9.3" | ||
- TEST_SCHEME="iOS" | ||
- DESTINATION="OS=9.0,name=iPhone 5" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode7.3 | ||
env: | ||
- TEST_SDK="macosx10.11" | ||
- TEST_SCHEME="OS X" | ||
- DESTINATION="arch=x86_64" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode7.3 | ||
env: | ||
- TEST_SDK="appletvsimulator9.2" | ||
- TEST_SCHEME="tvOS" | ||
- DESTINATION="OS=9.0,name=Apple TV 1080p" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode7.3 | ||
env: | ||
- TEST_SDK="watchsimulator2.2" | ||
- TEST_SCHEME="watchOS" | ||
- DESTINATION="OS=2.0,name=Apple Watch - 42mm" | ||
- TEST_ACTION="build" | ||
# Xcode 6.4: iOS 8, OS X 10.10, OS X 10.9 | ||
- osx_image: xcode6.4 | ||
env: TEST_SDK=iphonesimulator8.4 | ||
- osx_image: beta-xcode6.3 | ||
env: TEST_SDK=iphonesimulator8.3 | ||
- osx_image: beta-xcode6.2 | ||
env: TEST_SDK=iphonesimulator8.2 | ||
- env: TEST_SDK=macosx10.10 TEST_SCHEME="OS X" | ||
- env: TEST_SDK=macosx10.9 TEST_SCHEME="OS X" | ||
- env: TEST_SDK=iphonesimulator8.1 | ||
- env: TEST_SDK=iphonesimulator7.1 | ||
- env: TEST_SDK=iphonesimulator7.0 | ||
script: xctool -project HTMLReader.xcodeproj -scheme "HTMLReader ${TEST_SCHEME:-iOS}" -sdk $TEST_SDK ${TEST_ACTION:-test} | ||
env: | ||
- TEST_SDK="iphonesimulator8.4" | ||
- TEST_SCHEME="iOS" | ||
- DESTINATION="OS=8.4,name=iPhone 5s" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode6.4 | ||
env: | ||
- TEST_SDK="macosx10.10" | ||
- TEST_SCHEME="OS X" | ||
- DESTINATION="arch=x86_64" | ||
- TEST_ACTION="test" | ||
- osx_image: xcode6.4 | ||
env: | ||
- TEST_SDK="macosx10.9" | ||
- TEST_SCHEME="OS X" | ||
- DESTINATION="arch=x86_64" | ||
- TEST_ACTION="test" | ||
# Xcode 6.1: iOS 7 | ||
- osx_image: beta-xcode6.1 | ||
env: | ||
- TEST_SDK="iphonesimulator7.1" | ||
- TEST_SCHEME="iOS" | ||
- DESTINATION="OS=7.1,name=iPhone 4s" | ||
- TEST_ACTION="test" | ||
script: | ||
- set -o pipefail | ||
- xcodebuild -project HTMLReader.xcodeproj -scheme "HTMLReader $TEST_SCHEME" -sdk "$TEST_SDK" -destination "$DESTINATION" "${TEST_ACTION:-test}" | xcpretty | ||
notifications: | ||
email: | ||
- [email protected] |
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
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
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