-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
22 lines (20 loc) · 885 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
# Reference: https://github.com/pinterest/PINRemoteImage/blob/master/.travis.yml
# https://github.com/Alamofire/Alamofire/blob/master/.travis.yml
language: objective-c
osx_image: xcode8
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
matrix:
- SCHEME="GithubPilot"
- IOS_SDK=iphonesimulator
- DESTINATION="platform=iOS Simulator,name=iPhone 7, OS=latest"
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xctool -workspace GithubPilot.xcworkspace -scheme "$SCHEME" -sdk "$IOS_SDK" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
# - xctool test -workspace GithubPilot.xcworkspace -scheme GithubPilotTests -sdk iphonesimulator9.2 ONLY_ACTIVE_ARCH=NO