-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.travis.yml
More file actions
16 lines (15 loc) · 848 Bytes
/
Copy path.travis.yml
File metadata and controls
16 lines (15 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode12.2
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- (cd Example && pod update)
- pod install --project-directory=Example
script:
# - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/AWAREFramework.xcworkspace -scheme AWAREFramework-Example -sdk iphonesimulator13.0 ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild clean build-for-testing -enableCodeCoverage YES -workspace Example/AWAREFramework.xcworkspace -scheme AWAREFramework-Example CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator | xcpretty
# - pod lib lint --allow-warnings