Skip to content

Commit

Permalink
Update travis to include latest Xcode, and cull unsupported ios,tvos …
Browse files Browse the repository at this point in the history
…versions
  • Loading branch information
kstenerud committed Nov 27, 2020
1 parent 1dc0347 commit 929446b
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ jobs:
# Unit Tests - Mac
# ----------------------------------------------------------------------------

- osx_image: xcode12.2 # macos 10.15.7
name: macOS 10.15.7 unit tests
stage: macOS unit tests
env: PLATFORM=macOS

- osx_image: xcode11.6 # macos 10.15.5
name: macOS 10.15.5 unit tests
stage: macOS unit tests
env: PLATFORM=macOS

- osx_image: xcode10.2 # macos 10.14
name: macOS 10.14 unit tests
stage: macOS unit tests
Expand All @@ -39,8 +49,16 @@ jobs:
# Unit Tests - iOS
# ----------------------------------------------------------------------------

- osx_image: xcode12.2
name: iOS 14 unit tests
stage: unit tests
env:
- PLATFORM=iOS
- OS=14.2
- DEVICE="iPhone 12 mini"

- osx_image: xcode11
name: iOS 13.x unit tests
name: iOS 13 unit tests
stage: unit tests
# Xcode 11+ no longer ships with all device combinations premade
before_script: xcrun simctl create "13-xs" "iPhone XS" com.apple.CoreSimulator.SimRuntime.iOS-13-0
Expand All @@ -49,7 +67,7 @@ jobs:
- OS=13.0
- DEVICE="iPhone XS"

- osx_image: xcode10.2
- osx_image: xcode11
name: iOS 9-12 unit tests
stage: unit tests
env: PLATFORM=iOS
Expand All @@ -68,17 +86,25 @@ jobs:
# Unit Tests - tvOS
# ----------------------------------------------------------------------------

- osx_image: xcode10.2
name: tvOS 9-12 unit tests
- osx_image: xcode12.2
name: tvOS 14 unit tests
stage: unit tests
env: PLATFORM=tvOS
script:
- make test OS=14.0

- osx_image: xcode11
name: tvOS 13 unit tests
stage: unit tests
env: PLATFORM=tvOS
script:
- make test OS=13.0
- make test OS=12.2
- make test OS=12.1
- make test OS=11.4
- make test OS=10.2
- make test OS=9.2

# ----------------------------------------------------------------------------
# Static framework, Carthage and Swift Package Manager builds
# ----------------------------------------------------------------------------
Expand Down

0 comments on commit 929446b

Please sign in to comment.