.travis.yml 4.45 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
12
13
env:
    global:
        # Always set Python version
        - MB_PYTHON_VERSION=3.7

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

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