Skip to content

Commit

Permalink
On release, build old Xcodes with Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed May 25, 2021
1 parent dfde728 commit 9e44117
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
os: osx
language: swift
osx_image: xcode9.4

# if: tag =~ /^[0-9]+\.[0-9]+\.[0-9]+/

stages:
- swiftpm
- carthage

jobs:
include:
- &swiftpm
stage: swiftpm
osx_image: xcode9.4
script: swift build
- <<: *swiftpm
osx_image: xcode10.3
- <<: *swiftpm
osx_image: xcode11.6
- <<: *swiftpm
osx_image: xcode12.5

- &carthage
stage: carthage
osx_image: xcode9.4
install: sed -i '' "s/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;/" *.xcodeproj/project.pbxproj
script: carthage build --no-skip-current
- <<: *carthage
osx_image: xcode10.3
- <<: *carthage
osx_image: xcode11.6
- <<: *carthage
osx_image: xcode12.5
script: carthage build --no-skip-current --use-xcframeworks

0 comments on commit 9e44117

Please sign in to comment.