Skip to content

Commit

Permalink
Merge pull request #278 from ishkawa/swift-5.1-enable-module-stability
Browse files Browse the repository at this point in the history
[Swift 5.1] Enable Module Stability
  • Loading branch information
ikesyo authored Nov 22, 2019
2 parents e99b58b + 8c80624 commit 1f06133
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,35 @@ matrix:
name: CocoaPods Lint
os: osx
language: objective-c
osx_image: xcode10.2
osx_image: xcode10.3
script:
- pod lib lint --allow-warnings
- &xcode
name: Xcode 10.2 / Swift 5.0
name: Xcode 10.3 / Swift 5.0
os: osx
language: objective-c
osx_image: xcode10.2
osx_image: xcode10.3
script:
- set -o pipefail
- xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release ENABLE_TESTABILITY=YES | xcpretty -c
- xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk iphonesimulator -destination "name=iPhone 6s" ENABLE_TESTABILITY=YES | xcpretty -c
- xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk iphonesimulator -destination "name=iPhone 8" ENABLE_TESTABILITY=YES | xcpretty -c
- xcodebuild build-for-testing test-without-building -workspace APIKit.xcworkspace -scheme APIKit -configuration Release -sdk appletvsimulator -destination "name=Apple TV" ENABLE_TESTABILITY=YES | xcpretty -c
after_success:
- bash <(curl -s https://codecov.io/bash)
- <<: *xcode
name: Xcode 11.2 / Swift 5.1
osx_image: xcode11.2
- &swiftpm
name: SwiftPM / Darwin / Swift 5.0
os: osx
language: generic
osx_image: xcode10.2
osx_image: xcode10.3
script:
- swift build
- swift test
- <<: *swiftpm
name: SwiftPM / Darwin / Swift 5.1
osx_image: xcode11.2

notifications:
email: false
1 change: 1 addition & 0 deletions Configurations/APIKit.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ LD_RUNPATH_SEARCH_PATHS[sdk=watch*] = $(inherited) @executable_path/Frameworks @
LD_RUNPATH_SEARCH_PATHS[sdk=appletv*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks

APPLICATION_EXTENSION_API_ONLY = YES;
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;

0 comments on commit 1f06133

Please sign in to comment.