-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
24 lines (19 loc) · 846 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
- xcrun simctl list # list devices
install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -workspace Example/CityPicker.xcworkspace -scheme CityPicker-Example -sdk iphonesimulator -destination "OS=9.0,name=iPhone 6" clean build | xcpretty -c || true
#- open -b com.apple.iphonesimulator
#- set -o pipefail && xcodebuild test -workspace Example/FeetInchDelegate.xcworkspace -scheme FeetInchDelegate-Example -destination "OS=9.0,name=iPhone 6"
#- pod lib lint --quick