forked from koher/swift-image
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
104 lines (104 loc) · 5.4 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
matrix:
include:
- os: osx
language: objective-c
osx_image: xcode10.2
script:
- set -o pipefail
- xcodebuild test -scheme SwiftImage-macOS -configuration Debug | xcpretty -c
- xcodebuild test -scheme SwiftImage-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone XS" | xcpretty -c
- xcodebuild test -scheme SwiftImage-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
- xcodebuild build -scheme SwiftImage-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm" | xcpretty -c
- xcodebuild test -scheme SwiftImage-macOS -configuration Release | xcpretty -c
- xcodebuild test -scheme SwiftImage-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone XS" | xcpretty -c
- xcodebuild test -scheme SwiftImage-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
- xcodebuild build -scheme SwiftImage-watchOS -configuration Release -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm" | xcpretty -c
- os: osx
language: objective-c
osx_image: xcode11
script:
- set -o pipefail
- xcodebuild test -scheme SwiftImage-macOS -configuration Debug | xcpretty -c
- xcodebuild test -scheme SwiftImage-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
- xcodebuild test -scheme SwiftImage-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
- xcodebuild build -scheme SwiftImage-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
- xcodebuild test -scheme SwiftImage-macOS -configuration Release | xcpretty -c
- xcodebuild test -scheme SwiftImage-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
- xcodebuild test -scheme SwiftImage-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
- xcodebuild build -scheme SwiftImage-watchOS -configuration Release -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
- os: osx
language: objective-c
osx_image: xcode11.4
script:
- set -o pipefail
- xcodebuild test -scheme SwiftImage-macOS -configuration Debug | xcpretty -c
- xcodebuild test -scheme SwiftImage-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
- xcodebuild test -scheme SwiftImage-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
- xcodebuild build -scheme SwiftImage-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
- xcodebuild test -scheme SwiftImage-macOS -configuration Release | xcpretty -c
- xcodebuild test -scheme SwiftImage-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
- xcodebuild test -scheme SwiftImage-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
- xcodebuild build -scheme SwiftImage-watchOS -configuration Release -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
- os: osx
language: generic
osx_image: xcode10.2
script:
- swift --version
- swift build
- swift test
- swift build -c release
- swift test -c release
- os: osx
language: generic
osx_image: xcode11
script:
- swift --version
- swift build
- swift test
- swift build -c release
- swift test -c release
- os: osx
language: generic
osx_image: xcode11.4
script:
- swift --version
- swift build
- swift test
- swift build -c release
- swift test -c release
- os: linux
language: generic
sudo: required
env: SWIFT_VERSION=5.0
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
- swift --version
- swift build
- swift test
- swift build -c release
- swift test -c release
- os: linux
language: generic
sudo: required
env: SWIFT_VERSION=5.1
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
- swift --version
- swift build
- swift test
- swift build -c release
- swift test -c release
- os: linux
language: generic
sudo: required
env: SWIFT_VERSION=5.2
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
- swift --version
- swift build
- swift test
- swift build -c release
- swift test -c release