forked from nsomar/OAStackView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
16 lines (15 loc) · 812 Bytes
/
.travis.yml
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
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/OAStackView.xcworkspace -scheme "OAStackView-Example" -destination "platform=iOS Simulator,OS=7.1,name=iPhone 5" ONLY_ACTIVE_ARCH=NO | xcpretty -c
- set -o pipefail && xcodebuild test -workspace Example/OAStackView.xcworkspace -scheme "OAStackView-Example" -destination "platform=iOS Simulator,OS=8.1,name=iPhone 5" ONLY_ACTIVE_ARCH=NO | xcpretty -c
- pod lib lint --quick