-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (48 loc) · 2.12 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: objective-c
os: osx
git:
depth: 1
env:
global:
- SCHEME="Nuke"
matrix:
include:
- osx_image: xcode10.2
env: DESTINATION="OS=12.2,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=12.1,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=12.0,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=11.4,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=11.0.1,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=10.3.1,name=iPhone SE" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=12.2,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="4.2"
- osx_image: xcode10.2
env: DESTINATION="OS=11.4,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="4.2"
- osx_image: xcode10.2
env: DESTINATION="OS=10.3.1,name=iPhone SE" RUN_TESTS="YES" SWIFT_VERSION="4.2"
- osx_image: xcode10.1
env: DESTINATION="OS=11.4,name=iPhone X" RUN_TESTS="YES" SWIFT_VERSION="4.2"
- osx_image: xcode10.2
env: DESTINATION="OS=12.2,name=Apple TV 4K" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=11.3,name=Apple TV 4K" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="arch=x86_64" RUN_TESTS="YES" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=4.2,name=Apple Watch - 42mm" RUN_TESTS="NO" SWIFT_VERSION="5.0"
- osx_image: xcode10.2
env: DESTINATION="OS=3.2,name=Apple Watch - 42mm" RUN_TESTS="NO" SWIFT_VERSION="5.0"
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- if [ $RUN_TESTS == "YES" ]; then
xcodebuild test -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug SWIFT_VERSION="$SWIFT_VERSION" | xcpretty;
else
xcodebuild build -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug SWIFT_VERSION="$SWIFT_VERSION" | xcpretty;
fi