Skip to content

Commit 8c5af2d

Browse files
authored
Add building on watchOS to Travis CI script (#7)
1 parent f7e4935 commit 8c5af2d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/travis-build-script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
1818
xcodebuild test -scheme SortedArray-macOS | xcpretty
1919
xcodebuild test -scheme SortedArray-iOS -destination "platform=iOS Simulator,name=iPhone 7,OS=10.1" | xcpretty
2020
xcodebuild test -scheme SortedArray-tvOS -destination "platform=tvOS Simulator,name=Apple TV 1080p" | xcpretty
21+
# watchOS doesn't support unit tests.
22+
xcodebuild build -scheme SortedArray-watchOS -destination="platform=watchOS Simulator,name=Apple Watch - 38mm" | xcpretty
2123
elif [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
2224
# Linux
2325
echo "Using Docker image: ${DOCKER_IMAGE}"

0 commit comments

Comments
 (0)