-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.travis.yml
More file actions
17 lines (16 loc) · 815 Bytes
/
.travis.yml
File metadata and controls
17 lines (16 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
osx_image: xcode9.4
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
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
install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail && xcodebuild test -workspace Example/QRCoderExample.xcworkspace -scheme QRCoderiOSExample -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.0' -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
- set -o pipefail && xcodebuild test -workspace Example/QRCoderExample.xcworkspace -scheme QRCoderOSXExample -sdk macosx ONLY_ACTIVE_ARCH=NO | xcpretty -c
- pod lib lint --quick