From 51b54c9819894332536c78751ee5bea7ac4a09c9 Mon Sep 17 00:00:00 2001 From: Sho Ikeda Date: Mon, 23 Apr 2018 22:34:14 +0900 Subject: [PATCH] [CI] Add Xcode 9.3 jobs --- .travis.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7421724b..efaba0a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,17 +6,33 @@ matrix: include: - os: osx language: objective-c - osx_image: xcode9 + osx_image: xcode9.2 script: - set -o pipefail - xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release ENABLE_TESTABILITY=YES | xcpretty -c - xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk iphonesimulator -destination "name=iPhone 6s" ENABLE_TESTABILITY=YES | xcpretty -c - - xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk appletvsimulator -destination "name=Apple TV 1080p" ENABLE_TESTABILITY=YES | xcpretty -c + - xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk appletvsimulator -destination "name=Apple TV" ENABLE_TESTABILITY=YES | xcpretty -c after_success: - bash <(curl -s https://codecov.io/bash) + - os: osx + language: objective-c + osx_image: xcode9.3 + script: + - set -o pipefail + - xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release ENABLE_TESTABILITY=YES | xcpretty -c + - xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk iphonesimulator -destination "name=iPhone 6s" ENABLE_TESTABILITY=YES | xcpretty -c + - xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk appletvsimulator -destination "name=Apple TV" ENABLE_TESTABILITY=YES | xcpretty -c + after_success: + - bash <(curl -s https://codecov.io/bash) + - os: osx + language: generic + osx_image: xcode9.2 + script: + - swift build + - swift test - os: osx language: generic - osx_image: xcode9 + osx_image: xcode9.3 script: - swift build - swift test