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 e6e8f32
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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

- &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

0 comments on commit e6e8f32

Please sign in to comment.