Skip to content

Commit 2a5941a

Browse files
committed
Test SwiftPM compiles on Mac too
We vary the build on mac vs. Linux so we need to test for that too.
1 parent 7bdc9fb commit 2a5941a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ jobs:
8585
env: SWIFT_BUILD_VERSION=4 SWIFT_VERSION=4.2
8686
name: Linux / Swift 4.2
8787

88+
- &swiftpm
89+
stage: compile
90+
name: Xcode 8.3 / SwiftPM
91+
os: osx
92+
osx_image: xcode8.3
93+
language: objective-c
94+
script: swift build
95+
- <<: *swiftpm
96+
name: Xcode 9.4 / SwiftPM
97+
osx_image: xcode9.4
98+
- <<: *swiftpm
99+
name: Xcode 10.0 / SwiftPM
100+
osx_image: xcode10
101+
88102
- &test
89103
stage: test
90104
osx_image: xcode10

0 commit comments

Comments
 (0)