forked from ipraba/EPContactsPicker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
13 lines (13 loc) · 829 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
language: objective-c # https://docs.travis-ci.com/user/languages/objective-c
osx_image: xcode7.3 # https://docs.travis-ci.com/user/osx-ci-environment/#Xcode-7.3
xcode_project: Contacts Picker.xcodeproj # https://docs.travis-ci.com/user/languages/objective-c#Default-Test-Script
xcode_scheme: Contacts Picker # https://docs.travis-ci.com/user/languages/objective-c#Build-Matrix
xcode_sdk: iphonesimulator # iphonesimulator9.3
before_install:
- xcodebuild -version
script:
- DESTINATION="-destination \"platform=iOS Simulator,name=iPhone 6s,OS=latest\""
- COMMAND="xcodebuild -project \"$TRAVIS_XCODE_PROJECT\" -scheme \"$TRAVIS_XCODE_SCHEME\" $DESTINATION"
- eval $COMMAND clean build &>/dev/null
- set -o pipefail
- eval $COMMAND test | xcpretty