-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (20 loc) · 942 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
branches:
only:
- master
env:
global:
- WORKSPACE=Nikka.xcworkspace
matrix:
- DESTINATION="OS=3.0,name=Apple Watch - 42mm" SCHEME="Nikka-watchOS" SDK="watchsimulator3.0" RUN_TESTS="NO"
- DESTINATION="OS=10.0,name=iPhone 6 Plus" SCHEME="Nikka-iOS" SDK="iphonesimulator10.0" RUN_TESTS="NO"
- DESTINATION="OS=10.0,name=Apple TV 1080p" SCHEME="Nikka-tvOS" SDK="appletvsimulator10.0" RUN_TESTS="NO"
- DESTINATION="arch=x86_64" SCHEME="Nikka-macOS" SDK="macosx10.12" RUN_TESTS="NO"
language: objective-c
osx_image: xcode8
before_install:
script:
- if [ $RUN_TESTS == "YES" ]; then
xcodebuild clean test -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO | xcpretty;
else
xcodebuild clean build -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO | xcpretty;
fi