Skip to content

Commit c0049c7

Browse files
committed
Tests: Travis: Add Xcode 9 and 8.3 runs for macOS builds — both Swift Package Manager and xcodebuild.
Switch runs for other Darwin platforms to Xcode 9 via `xcodebuild` for simulators and Carthage.
1 parent c6933de commit c0049c7

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.travis.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,32 @@ matrix:
6868
- XCODE_SDK=macosx
6969
XCODE_ACTION=test
7070
XCODE_DESTINATION="arch=x86_64"
71-
- osx_image: xcode8
71+
- osx_image: xcode8.3
72+
env:
73+
- XCODE_SDK=macosx
74+
XCODE_ACTION=test
75+
XCODE_DESTINATION="arch=x86_64"
76+
- osx_image: xcode9
77+
env:
78+
- XCODE_SDK=macosx
79+
XCODE_ACTION=test
80+
XCODE_DESTINATION="arch=x86_64"
81+
- osx_image: xcode9
7282
env:
7383
- XCODE_SDK=iphonesimulator
7484
XCODE_ACTION="build-for-testing test-without-building"
7585
XCODE_DESTINATION="name=iPhone 6s"
76-
- osx_image: xcode8
86+
- osx_image: xcode9
7787
env:
7888
- XCODE_SDK=appletvsimulator
7989
XCODE_ACTION="build-for-testing test-without-building"
8090
XCODE_DESTINATION="name=Apple TV 1080p"
81-
- osx_image: xcode8
91+
- osx_image: xcode9
8292
env:
8393
- XCODE_SDK=watchsimulator
8494
XCODE_ACTION=build
8595
XCODE_DESTINATION="name=Apple Watch - 38mm"
86-
- osx_image: xcode8
96+
- osx_image: xcode9
8797
env:
8898
- JOB=CARTHAGE
8999
script:
@@ -109,6 +119,18 @@ matrix:
109119
script:
110120
- swift build --verbose
111121
- swift test
122+
- osx_image: xcode8.3
123+
env:
124+
- JOB=SWIFT_PM
125+
script:
126+
- swift build --verbose
127+
- swift test
128+
- osx_image: xcode9
129+
env:
130+
- JOB=SWIFT_PM
131+
script:
132+
- swift build --verbose
133+
- swift test
112134
git:
113135
submodules: false
114136
before_install:

0 commit comments

Comments
 (0)