Skip to content

Commit

Permalink
More travis coverage for Swift 5
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Apr 7, 2019
1 parent e5c5d84 commit 0a59b0d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
os: osx
language: swift
osx_image: xcode10.2

branches:
only:
Expand Down Expand Up @@ -31,17 +32,17 @@ 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
- <<: *pod
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
Expand Down Expand Up @@ -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:
Expand All @@ -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'

0 comments on commit 0a59b0d

Please sign in to comment.