forked from tsolomko/SWCompression
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
163 lines (163 loc) · 4.66 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# TODO: There is probably a way to simplify this very explicit build matrix.
git:
depth: 1
submodules: false
jobs:
include:
- stage: test
language: swift
os: osx
osx_image: xcode10.3 # Swift 5.0
env:
- HOMEBREW_NO_INSTALL_CLEANUP=1
- WATCHOS_ACTIONS='clean build'
- WATCHOS_SIMULATOR='Apple Watch Series 4 - 44mm'
before_install:
- brew update
install:
- ./utils.py ci install-macos
before_script:
- ./utils.py prepare-workspace macos
script:
- ./utils.py ci script-macos
- stage: test
language: swift
os: osx
osx_image: xcode11.3 # Swift 5.1
env:
- HOMEBREW_NO_INSTALL_CLEANUP=1
- WATCHOS_ACTIONS='clean build'
- WATCHOS_SIMULATOR='Apple Watch Series 4 - 44mm'
before_install:
- brew update
install:
- ./utils.py ci install-macos
before_script:
- ./utils.py prepare-workspace macos
script:
- ./utils.py ci script-macos
- stage: test
language: swift
os: osx
osx_image: xcode11.4 # Swift 5.2
env:
- HOMEBREW_NO_INSTALL_CLEANUP=1
- WATCHOS_ACTIONS='clean build'
- WATCHOS_SIMULATOR='Apple Watch Series 4 - 44mm'
before_install:
- brew update
install:
- ./utils.py ci install-macos
before_script:
- ./utils.py prepare-workspace macos
script:
- ./utils.py ci script-macos
- stage: test
language: swift
os: osx
osx_image: xcode12.4 # Swift 5.3.2
env:
- HOMEBREW_NO_INSTALL_CLEANUP=1
- WATCHOS_ACTIONS='clean build'
- WATCHOS_SIMULATOR='Apple Watch Series 6 - 44mm'
before_install:
- brew update
install:
- ./utils.py ci install-macos
before_script:
- ./utils.py prepare-workspace macos --xcf
script:
- ./utils.py ci script-macos
- stage: test
language: swift
os: osx
osx_image: xcode12.5 # Swift 5.4
env:
- HOMEBREW_NO_INSTALL_CLEANUP=1
- WATCHOS_ACTIONS='clean test'
- WATCHOS_SIMULATOR='Apple Watch Series 6 - 44mm'
before_install:
- brew update
install:
- ./utils.py ci install-macos
before_script:
- ./utils.py prepare-workspace macos --xcf
script:
- ./utils.py ci script-macos
- stage: test
language: generic
os: linux
dist: bionic
env:
- SWIFT_VERSION=5.0.3
install:
- ./utils.py ci install-linux
script:
- ./utils.py ci script-linux
- stage: test
language: generic
os: linux
dist: bionic
env:
- SWIFT_VERSION=5.1.5
install:
- ./utils.py ci install-linux
script:
- ./utils.py ci script-linux
- stage: test
language: generic
os: linux
dist: bionic
env:
- SWIFT_VERSION=5.2.5
install:
- ./utils.py ci install-linux
script:
- ./utils.py ci script-linux
- stage: test
language: generic
os: linux
dist: bionic
env:
- SWIFT_VERSION=5.3.3
install:
- ./utils.py ci install-linux
script:
- ./utils.py ci script-linux
- stage: test
language: generic
os: linux
dist: bionic
env:
- SWIFT_VERSION=5.4
install:
- ./utils.py ci install-linux
script:
- ./utils.py ci script-linux
- stage: deploy
# Don't deploy if it is a test release.
if: (tag IS present) AND (tag =~ /^\d+\.\d+\.\d+$/)
language: generic
os: osx
osx_image: xcode12
env:
- HOMEBREW_NO_INSTALL_CLEANUP=1
env:
secure: iavIkrus2Xd3b086nz2srMGl52yqzLuCdhyEAhMODVqkzqMQ17s10y1TNb+vkepd0HgxI9j57d5X7tfChjWuWDwE2hZKjr/Kx2DfiUr1AKQD6ymuGrq/0Vv6yL9dfPU8goFArcrsBcyVKczLtTuLCKL498ZqokkQc/3kGvzW74lv+z410MfHS9/tvToO/yXJckL6qJ2XBAiElfOO0rEkllTeCo6N3bjcHZ2o7PE0K+CHYxwNKj0TmPmuNWZ3U4fzoWzkk01re1C1l5cpSb20g+2aGyi0yYX+PomX7fIIqNq9vmmyoeNdr35yqoQv/0zFeFnps83NKmZLAjSUhiUdhlbuBLBE+w8544LOaZnMDlFmpDjgyaVnRrOh0NrBB1FwU48aGfX5ljRQmk/07FTEUjvwvGGoOpz8lrLZi148FMHEospL3Sf7d8K+Q9WdtLTGk7HCnbOVcxS6oB/SWF/Cj6n5wu+EI1floBaZEsNPR40Gd4eM/Ik/E3lDrZThGDCWQsao981wm7IfEDBR1nuMME8gpZINFANNS1+5miFaGdTnDTp4Yd5MGEFZm+K8x+TG1891NwNH1ZmKXlypJXiUzvSjbh2ViNJGekdQj9q2gj2ZFlCfHJ05adwJ4w9qRuF00HpAOD6At6EnsjDXFJeTZS5dj8fi2YsU9or8KfTFoNY=
addons:
homebrew:
packages:
- sourcekitten
update: true
install:
- gem install -N jazzy
- gem update -N cocoapods
before_deploy:
- ./utils.py ci before-deploy
deploy:
- provider: pages
github_token: $GITHUB_TOKEN
local_dir: docs
skip_cleanup: true
on:
tags: true