-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca14161
commit e7b5c19
Showing
2 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
# references: | ||
# * https://www.objc.io/issues/6-build-tools/travis-ci/ | ||
# * https://github.com/supermarin/xcpretty#usage | ||
|
||
osx_image: xcode7.3 | ||
osx_image: xcode10.1 | ||
language: objective-c | ||
# cache: cocoapods | ||
# podfile: Example/Podfile | ||
# before_install: | ||
# - gem install cocoapods # Since Travis is not always on latest version | ||
# - pod install --project-directory=Example | ||
|
||
cache: cocoapods | ||
podfile: Example/Podfile | ||
|
||
before_install: | ||
- gem install cocoapods | ||
- pod install --repo-update --project-directory=Example | ||
|
||
before_script: | ||
- set -o pipefail | ||
|
||
script: | ||
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/RxApolloClient.xcworkspace -scheme RxApolloClient-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty | ||
- pod lib lint | ||
- xcodebuild clean build test | ||
-workspace Example/RxApolloClient.xcworkspace | ||
-scheme RxApolloClient-Example | ||
-sdk iphonesimulator | ||
-destination 'platform=iOS Simulator,name=iPhone 8,OS=12.0' | ||
-configuration Debug | ||
-enableCodeCoverage YES | ||
CODE_SIGNING_REQUIRED=NO | xcpretty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters