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

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