-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml
More file actions
20 lines (17 loc) · 789 Bytes
/
.travis.yml
File metadata and controls
20 lines (17 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode10.2
language: objective-c
xcode_workspace: Example/NdefLibrary.xcworkspace
xcode_scheme: NdefLibrary-Example
xcode_destination: platform=iOS Simulator,OS=12,name=iPhone XR
xcode_sdk: iphonesimulator
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/NdefLibrary.xcworkspace -scheme NdefLibrary-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone XR,OS=latest' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint