From 0a59b0d89f469979aecacdf9046df14f99d1cc6b Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 7 Apr 2019 15:48:48 -0400 Subject: [PATCH] More travis coverage for Swift 5 --- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4bb8656..e2a7f2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ os: osx language: swift +osx_image: xcode10.2 branches: only: @@ -31,9 +32,9 @@ jobs: - <<: *pod osx_image: xcode9.4 env: SWIFT=3.3 - # - <<: *pod - # osx_image: xcode10 - # env: SWIFT=3.4 + - <<: *pod + osx_image: xcode10.1 + env: SWIFT=3.4 - <<: *pod osx_image: xcode9.2 env: SWIFT=4.0 @@ -41,7 +42,7 @@ jobs: osx_image: xcode9.4 env: SWIFT=4.1 - <<: *pod - osx_image: xcode10 + osx_image: xcode10.1 env: SWIFT=4.2 - <<: *pod osx_image: xcode10.2 @@ -105,6 +106,7 @@ jobs: osx_image: xcode9.2 script: | carthage bootstrap --cache-builds + sed -i '' "s/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;/" *.xcodeproj/project.pbxproj carthage build --no-skip-current cache: directories: @@ -126,10 +128,9 @@ jobs: - Carthage before_install: | carthage bootstrap --cache-builds --no-use-binaries - sed -i '' "s/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;/" *.xcodeproj/project.pbxproj after_success: bash <(curl -s https://codecov.io/bash); - <<: *test - xcode_destination: 'platform=iOS Simulator,OS=12.0,name=iPhone SE' + xcode_destination: 'platform=iOS Simulator,OS=12.2,name=iPhone SE' - <<: *test - xcode_destination: 'platform=Apple TV Simulator,OS=12.0,name=Apple TV' + xcode_destination: 'platform=tvOS Simulator,OS=12.2,name=Apple TV'