forked from multi-build/multibuild
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
234 lines (229 loc) · 5.11 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# Set TEST_BUILDS=1 to run library_builders tests
language: generic
cache:
directories:
- $HOME/.ccache
env:
global:
# Always set Python version
- MB_PYTHON_VERSION=3.9
matrix:
include:
- os: linux
dist: trusty
language: python
# 64-bit builds
- os: linux
dist: xenial
env:
- TEST_BUILDS=1
# 64-bit builds
- os: linux
dist: xenial
env:
- TEST_BUILDS=1
- MB_ML_VER=2010
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
- os: linux
dist: xenial
env:
- TEST_BUILDS=1
- MB_ML_VER=_2_24
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
# 32-bit builds
- os: linux
dist: xenial
env:
- TEST_BUILDS=1
- PLAT=i686
- os: linux
dist: xenial
env:
- TEST_BUILDS=1
- PLAT=i686
- MB_ML_VER=2010
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
# Builds with caching
- os: linux
dist: xenial
env:
- TEST_BUILDS=1
- USE_CCACHE=1
# Build with pypy3
- os: linux
env:
- MB_PYTHON_VERSION=pypy3.6-7.3
- MB_ML_VER=2014
- TEST_BUILDS=1
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
# OSX builds
- os: osx
env:
- MB_PYTHON_VERSION=2.7.17 # 2.7.18 doesn't have a 10.6 build
- MB_PYTHON_OSX_VER=10.6
- TEST_BUILDS=1
- OPENSSL_ROOT=openssl-1.0.2u
- OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
- os: osx
env:
- MB_PYTHON_VERSION=2.7
- TEST_BUILDS=1
- os: osx
env:
- MB_PYTHON_VERSION=pypy3.6-7.3
- MB_PYTHON_OSX_VER=10.9
- TEST_BUILDS=1
- os: osx
language: objective-c
env:
- MB_PYTHON_VERSION=2.7
- VENV=venv
- os: osx
env:
- MB_PYTHON_VERSION=3.5
- os: osx
env:
- MB_PYTHON_VERSION=3.5
- VENV=venv
# this is expected to fail
# 3.5 / 10.9 build doesn't exist
- os: osx
env:
- MB_PYTHON_VERSION=3.5
- MB_PYTHON_OSX_VER=10.9
- OSX_ENV_EXPECT_FAIL=true
- os: osx
env:
- MB_PYTHON_VERSION=3.6
- MB_PYTHON_OSX_VER=10.6
- VENV=venv
- os: osx
env:
- MB_PYTHON_VERSION=3.6
- VENV=venv
- os: osx
env:
- MB_PYTHON_VERSION=3.7
- VENV=venv
- os: osx
osx_image: xcode10.2
env:
- MB_PYTHON_VERSION=3.7
- VENV=venv
- USE_CCACHE=1
- os: osx
env:
- MB_PYTHON_VERSION=3.8
- VENV=venv
- os: osx
env:
- MB_PYTHON_VERSION=3.9
- VENV=venv
- os: osx
env:
- MB_PYTHON_VERSION=pypy-7.3
- TEST_BUILDS=1
- VENV=venv
# Default OSX (xcode image) is 10.13 (xcode 9.4.1) as of 2018-08-03
# See: https://docs.travis-ci.com/user/reference/osx/
- os: osx
osx_image: xcode10.1
env:
- MB_PYTHON_VERSION=3.7
- TEST_BUILDS=1
- os: osx
osx_image: xcode10.1
env:
- MB_PYTHON_VERSION=3.7
- MB_PYTHON_OSX_VER=10.9
- TEST_BUILDS=1
- os: osx
osx_image: xcode10
env:
- MB_PYTHON_VERSION=3.7
- os: osx
osx_image: xcode10
env:
- MB_PYTHON_VERSION=3.8
- os: osx
osx_image: xcode10
env:
- MB_PYTHON_VERSION=3.9
- os: osx
osx_image: xcode10.1
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode10
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode9.4
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode9.3
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode9.2
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode9.1
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode9
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode8.3
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode8.2
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode8.1
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode8
env:
- MB_PYTHON_VERSION=3.5
- os: osx
osx_image: xcode7.3
env:
- MB_PYTHON_VERSION=3.5
# ARM aarch 64 builds
- os: linux
arch: arm64
env:
- MB_PYTHON_VERSION=3.7
- MB_ML_VER=2014
- TEST_BUILDS=1
- PLAT=aarch64
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
# s390x builds
- os: linux
arch: s390x
env:
- MB_PYTHON_VERSION=3.7
- MB_ML_VER=2014
- TEST_BUILDS=1
- PLAT=s390x
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
# ppc64le builds
- os: linux
arch: ppc64le
env:
- MB_PYTHON_VERSION=3.7
- MB_ML_VER=2014
- TEST_BUILDS=1
- PLAT=ppc64le
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
script:
- export ENV_VARS_PATH="tests/env_vars.sh"
- source tests/test_multibuild.sh