Skip to content

Commit

Permalink
Travis Swift 5 coverage++; Mandatory Cartfile bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Apr 7, 2019
1 parent 6758572 commit 3007c29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
20 changes: 8 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,21 @@ jobs:
- <<: *pod
osx_image: xcode10.1
env: SWIFT=4.2
# Fails at PromiseKit level currently
# - <<: *pod
# osx_image: xcode10.2
# env: SWIFT=4.3
# name: pod lib lint --swift-version=4.3
- <<: *pod
osx_image: xcode10.2
env: SWIFT=4.3
- <<: *pod
osx_image: xcode10.2
env: SWIFT=5.0

- &carthage
stage: carthage
osx_image: xcode9.2
script:
script: |
carthage bootstrap --cache-builds --platform iOS
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:
cache.directories:
- Carthage
- <<: *carthage
osx_image: xcode9.4
Expand All @@ -72,9 +70,7 @@ jobs:
xcode_scheme: PMKAddressBook
xcode_project: PMKAddressBook.xcodeproj
xcode_destination: 'platform=iOS Simulator,OS=12.2,name=iPhone SE'
cache:
directories:
cache.directories:
- Carthage
before_install: |
before_install:
carthage bootstrap --cache-builds --no-use-binaries --platform iOS
sed -i '' "s/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;/" *.xcodeproj/project.pbxproj
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "mxcl/PromiseKit" ~> 6.0
github "mxcl/PromiseKit" ~> 6.8.4

0 comments on commit 3007c29

Please sign in to comment.