-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
22 lines (22 loc) · 1.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: objective-c
osx_image: xcode9.3
env:
- DESTINATION="arch=x86_64" PLATFORM=Mac TEST=1
- DESTINATION="OS=11.3,name=iPhone SE" PLATFORM=iOS TEST=1
- DESTINATION="OS=10.3.1,name=iPhone SE" PLATFORM=iOS
- DESTINATION="OS=9.3,name=iPhone 5s" PLATFORM=iOS
- DESTINATION="OS=8.4,name=iPhone 4s" PLATFORM=iOS
- DESTINATION="OS=11.3,name=Apple TV" PLATFORM=tvOS TEST=1
- DESTINATION="OS=10.2,name=Apple TV 1080p" PLATFORM=tvOS
- DESTINATION="OS=9.2,name=Apple TV 1080p" PLATFORM=tvOS
before_install:
- carthage bootstrap --cache-builds --no-use-binaries --platform $PLATFORM --verbose
install:
- xcodebuild -scheme PMKSystemConfiguration -target PMKSystemConfiguration -destination "$DESTINATION" build
- if [[ $TEST == "1" ]]; then
xcodebuild -scheme PMKSystemConfiguration -target PMKSCTests -destination "$DESTINATION" build;
fi
script:
- if [[ $TEST == "1" ]]; then
xcodebuild -scheme PMKSystemConfiguration -destination "$DESTINATION" test;
fi