Skip to content

Commit e6e8f32

Browse files
committed
On release, build old Xcodes with Travis
1 parent dfde728 commit e6e8f32

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
os: osx
2+
language: swift
3+
osx_image: xcode9.4
4+
5+
if: tag =~ /^[0-9]+\.[0-9]+\.[0-9]+/
6+
7+
stages:
8+
- swiftpm
9+
- carthage
10+
11+
jobs:
12+
include:
13+
- &swiftpm
14+
stage: swiftpm
15+
osx_image: xcode9.4
16+
script: swift build
17+
- <<: *swiftpm
18+
osx_image: xcode10.3
19+
- <<: *swiftpm
20+
osx_image: xcode11.6
21+
22+
- &carthage
23+
stage: carthage
24+
osx_image: xcode9.4
25+
install: sed -i '' "s/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;/" *.xcodeproj/project.pbxproj
26+
script: carthage build --no-skip-current
27+
- <<: *carthage
28+
osx_image: xcode10.3
29+
- <<: *carthage
30+
osx_image: xcode11.6

0 commit comments

Comments
 (0)