-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
15 lines (14 loc) · 796 Bytes
/
.travis.yml
File metadata and controls
15 lines (14 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode8
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
script:
#- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/NetLogger.xcworkspace -scheme NetLogger-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=10.0,name=iPhone 6' ONLY_ACTIVE_ARCH=NO | xcpretty -c --test --color
- xcodebuild test -workspace Example/NetLogger.xcworkspace -scheme NetLogger-Example -destination 'platform=iOS Simulator,name=iPhone 6 Plus' | xcpretty -c && exit ${PIPESTATUS[0]}
- pod lib lint