.travis.yml 5.09 KB
Newer Older
1
2
# Set TEST_BUILDS=1 to run library_builders tests

3
language: generic
4

xoviat's avatar
xoviat committed
5
6
7
cache:
  directories:
   - $HOME/.ccache
xoviat's avatar
xoviat committed
8

Matthew Brett's avatar
Matthew Brett committed
9
10
11
env:
    global:
        # Always set Python version
12
        - MB_PYTHON_VERSION=3.9
Matthew Brett's avatar
Matthew Brett committed
13

14
15
16
matrix:
  include:
    - os: linux
17
      dist: trusty
18
19
    # 64-bit builds
    - os: linux
20
      dist: xenial
21
22
      env:
        - TEST_BUILDS=1
mattip's avatar
mattip committed
23
    # 64-bit builds,
Matthew Brett's avatar
Matthew Brett committed
24
25
26
27
28
    - os: linux
      dist: xenial
      env:
        - TEST_BUILDS=1
        - MB_ML_VER=2010
29
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
mattip's avatar
mattip committed
30
31
32
33
34
35
    - os: linux
      dist: xenial
      env:
        - TEST_BUILDS=1
        - MB_ML_VER=_2_24
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
36
    # 32-bit builds
37
    - os: linux
38
      dist: xenial
39
40
      env:
        - TEST_BUILDS=1
41
        - PLAT=i686
42
43
44
45
46
47
    - os: linux
      dist: xenial
      env:
        - TEST_BUILDS=1
        - PLAT=i686
        - MB_ML_VER=2010
48
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
49
    # Builds with caching
xoviat's avatar
xoviat committed
50
    - os: linux
51
      dist: xenial
xoviat's avatar
xoviat committed
52
53
54
      env:
        - TEST_BUILDS=1
        - USE_CCACHE=1
55
56
57
58
59
60
    # Build with pypy3
    - os: linux
      env:
        - MB_PYTHON_VERSION=pypy3.6-7.3
        - MB_ML_VER=2014
        - TEST_BUILDS=1
61
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
62
    # OSX builds
63
64
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
65
        - MB_PYTHON_VERSION=2.7.17 # 2.7.18 doesn't have a 10.6 build
66
        - MB_PYTHON_OSX_VER=10.6
67
        - TEST_BUILDS=1
68
69
        - OPENSSL_ROOT=openssl-1.0.2u
        - OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
70
71
    - os: osx
      env:
72
        - MB_PYTHON_VERSION=2.7
73
        - TEST_BUILDS=1
74
    - os: osx
Andrew Murray's avatar
Andrew Murray committed
75
76
77
78
79
      env:
        - MB_PYTHON_VERSION=pypy3.6-7.3
        - MB_PYTHON_OSX_VER=10.9
        - TEST_BUILDS=1
    - os: osx
80
81
      language: objective-c
      env:
Matthew Brett's avatar
Matthew Brett committed
82
        - MB_PYTHON_VERSION=2.7
83
84
85
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
86
        - MB_PYTHON_VERSION=3.5
87
88
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
89
        - MB_PYTHON_VERSION=3.5
90
        - VENV=venv
robbuckley's avatar
robbuckley committed
91
92
93
94
95
96
97
    # 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
Matthew Brett's avatar
Matthew Brett committed
98
99
    - os: osx
      env:
100
        - MB_PYTHON_VERSION=3.6
101
        - MB_PYTHON_OSX_VER=10.6
Matthew Brett's avatar
Matthew Brett committed
102
        - VENV=venv
103
104
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
105
        - MB_PYTHON_VERSION=3.6
106
        - VENV=venv
xoviat's avatar
xoviat committed
107
108
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
109
        - MB_PYTHON_VERSION=3.7
Matthew Brett's avatar
Matthew Brett committed
110
111
        - VENV=venv
    - os: osx
112
      osx_image: xcode10.2
Matthew Brett's avatar
Matthew Brett committed
113
      env:
Matthew Brett's avatar
Matthew Brett committed
114
        - MB_PYTHON_VERSION=3.7
xoviat's avatar
xoviat committed
115
116
        - VENV=venv
        - USE_CCACHE=1
mattip's avatar
mattip committed
117
118
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
119
        - MB_PYTHON_VERSION=3.8
mattip's avatar
mattip committed
120
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
121
122
123
124
    - os: osx
      env:
        - MB_PYTHON_VERSION=3.9
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
125
126
    - os: osx
      env:
127
        - MB_PYTHON_VERSION=pypy-7.3
mattip's avatar
mattip committed
128
        - TEST_BUILDS=1
Andrew Murray's avatar
Andrew Murray committed
129
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
130
    # Default OSX (xcode image) is 10.13 (xcode 9.4.1) as of 2018-08-03
Andrew Murray's avatar
Andrew Murray committed
131
    # See: https://docs.travis-ci.com/user/reference/osx/
132
133
134
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
135
        - MB_PYTHON_VERSION=3.7
136
        - TEST_BUILDS=1
137
138
139
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
140
        - MB_PYTHON_VERSION=3.7
141
        - MB_PYTHON_OSX_VER=10.9
142
        - TEST_BUILDS=1
143
144
145
    - os: osx
      osx_image: xcode10
      env:
Matthew Brett's avatar
Matthew Brett committed
146
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
147
148
149
    - os: osx
      osx_image: xcode10
      env:
Matthew Brett's avatar
Matthew Brett committed
150
        - MB_PYTHON_VERSION=3.8
Andrew Murray's avatar
Andrew Murray committed
151
152
153
154
    - os: osx
      osx_image: xcode10
      env:
        - MB_PYTHON_VERSION=3.9
Andrew Murray's avatar
Andrew Murray committed
155
156
157
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
158
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
159
160
161
    - os: osx
      osx_image: xcode10
      env:
Matthew Brett's avatar
Matthew Brett committed
162
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
163
164
165
    - os: osx
      osx_image: xcode9.4
      env:
Matthew Brett's avatar
Matthew Brett committed
166
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
167
168
169
    - os: osx
      osx_image: xcode9.3
      env:
Matthew Brett's avatar
Matthew Brett committed
170
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
171
172
173
    - os: osx
      osx_image: xcode9.2
      env:
Matthew Brett's avatar
Matthew Brett committed
174
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
175
176
177
    - os: osx
      osx_image: xcode9.1
      env:
Matthew Brett's avatar
Matthew Brett committed
178
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
179
180
181
    - os: osx
      osx_image: xcode9
      env:
Matthew Brett's avatar
Matthew Brett committed
182
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
183
184
185
    - os: osx
      osx_image: xcode8.3
      env:
Matthew Brett's avatar
Matthew Brett committed
186
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
187
188
189
    - os: osx
      osx_image: xcode8.2
      env:
Matthew Brett's avatar
Matthew Brett committed
190
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
191
192
193
    - os: osx
      osx_image: xcode8.1
      env:
Matthew Brett's avatar
Matthew Brett committed
194
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
195
196
197
    - os: osx
      osx_image: xcode8
      env:
Matthew Brett's avatar
Matthew Brett committed
198
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
199
200
201
    - os: osx
      osx_image: xcode7.3
      env:
Matthew Brett's avatar
Matthew Brett committed
202
        - MB_PYTHON_VERSION=3.5
203
204
205
206
207
    # ARM aarch 64 builds
    - os: linux
      arch: arm64
      env:
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
208
209
210
        - MB_ML_VER=2014
        - TEST_BUILDS=1
        - PLAT=aarch64
mattip's avatar
mattip committed
211
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
212
213
214
215
216
    #  s390x builds
    - os: linux
      arch: s390x
      env:
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
217
        - MB_ML_VER=2014
218
219
        - TEST_BUILDS=1
        - PLAT=s390x
mattip's avatar
mattip committed
220
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
221
222
223
224
225
    #  ppc64le builds
    - os: linux
      arch: ppc64le
      env:
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
226
        - MB_ML_VER=2014
227
228
        - TEST_BUILDS=1
        - PLAT=ppc64le
mattip's avatar
mattip committed
229
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
230
231

script:
Ivan Pozdeev's avatar
Ivan Pozdeev committed
232
  - export ENV_VARS_PATH="tests/env_vars.sh"
233
  - source tests/test_multibuild.sh