Skip to content

Commit

Permalink
for multi scheme support
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentneo committed Feb 12, 2019
1 parent 337156a commit e4f4d43
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Expand Up @@ -4,14 +4,21 @@

osx_image: xcode10.1
language: swift
xcode_scheme: CoreGPX
xcode_destination: platform=iOS Simulator,OS=12.1,name=iPhone XS
#xcode_scheme: CoreGPX
#xcode_destination: platform=iOS Simulator,OS=12.1,name=iPhone XS
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example

script:
- xcodebuild -workspace Example/CoreGPX.xcworkspace -scheme CoreGPX -sdk iphonesimulator12.1 -destination 'OS=12.1,name=iPhone XS'
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks

- xcodebuild -workspace Example/CoreGPX.xcworkspace -scheme CoreGPX -sdk iphonesimulator12.1 -destination 'OS=12.1,name=iPhone XS' | xcpretty;
- xcodebuild -workspace Example/CoreGPX.xcworkspace -scheme CoreGPX-watchOS -sdk watchsimulator5.1 -destination 'OS=5.1,name=Apple Watch Series 4 - 44mm' | xcpretty;
- xcodebuild -workspace Example/CoreGPX.xcworkspace -scheme CoreGPX-macOS -sdk macosx10.14 -destination 'arch=x86_64' | xcpretty;
#- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/GPXKit.xcworkspace -scheme GPXKit-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
#- pod lib lint

0 comments on commit e4f4d43

Please sign in to comment.