.travis.yml 4.29 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
Matthew Brett's avatar
Matthew Brett committed
23
24
25
26
27
28
    # 64-bit builds, manylinux2014
    - 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
35
        - PLAT=i686
    # Builds with caching
xoviat's avatar
xoviat committed
36
    - os: linux
37
      dist: xenial
xoviat's avatar
xoviat committed
38
39
40
      env:
        - TEST_BUILDS=1
        - USE_CCACHE=1
41
    # OSX builds
42
43
    - os: osx
      env:
44
        - MB_PYTHON_VERSION=2.7
45
        - MB_PYTHON_OSX_VER=10.6
46
        - TEST_BUILDS=1
47
48
    - os: osx
      env:
49
        - MB_PYTHON_VERSION=2.7
50
        - TEST_BUILDS=1
51
52
53
    - os: osx
      language: objective-c
      env:
Matthew Brett's avatar
Matthew Brett committed
54
        - MB_PYTHON_VERSION=2.7
55
56
57
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
58
        - MB_PYTHON_VERSION=3.5
59
60
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
61
        - MB_PYTHON_VERSION=3.5
62
        - VENV=venv
Matthew Brett's avatar
Matthew Brett committed
63
64
    - os: osx
      env:
65
        - MB_PYTHON_VERSION=3.6
66
        - MB_PYTHON_OSX_VER=10.6
Matthew Brett's avatar
Matthew Brett committed
67
        - VENV=venv
68
69
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
70
        - MB_PYTHON_VERSION=3.6
71
72
73
        - VENV=venv
    - os: osx
      env:
74
        - MB_PYTHON_VERSION=3.7
75
        - MB_PYTHON_OSX_VER=10.6
76
        - VENV=venv
xoviat's avatar
xoviat committed
77
78
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
79
        - MB_PYTHON_VERSION=3.7
Matthew Brett's avatar
Matthew Brett committed
80
81
82
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
83
        - MB_PYTHON_VERSION=3.7
xoviat's avatar
xoviat committed
84
85
        - VENV=venv
        - USE_CCACHE=1
mattip's avatar
mattip committed
86
87
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
88
        - MB_PYTHON_VERSION=3.8
mattip's avatar
mattip committed
89
        - VENV=venv
Kyle Stewart's avatar
Kyle Stewart committed
90
91
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
92
        - MB_PYTHON_VERSION=pypy-4.0
Kyle Stewart's avatar
Kyle Stewart committed
93
94
95
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
96
        - MB_PYTHON_VERSION=pypy-5.0
Kyle Stewart's avatar
Kyle Stewart committed
97
98
99
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
100
        - MB_PYTHON_VERSION=pypy-5.1
Kyle Stewart's avatar
Kyle Stewart committed
101
102
103
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
104
        - MB_PYTHON_VERSION=pypy-5.3
Kyle Stewart's avatar
Kyle Stewart committed
105
106
107
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
108
        - MB_PYTHON_VERSION=pypy-5.4
Kyle Stewart's avatar
Kyle Stewart committed
109
110
111
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
112
        - MB_PYTHON_VERSION=pypy-5.6
Kyle Stewart's avatar
Kyle Stewart committed
113
114
115
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
116
        - MB_PYTHON_VERSION=pypy-5.7
Kyle Stewart's avatar
Kyle Stewart committed
117
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
118
119
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
120
        - MB_PYTHON_VERSION=pypy-5.8
Andrew Murray's avatar
Andrew Murray committed
121
122
123
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
124
        - MB_PYTHON_VERSION=pypy-5.9
Andrew Murray's avatar
Andrew Murray committed
125
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
126
127
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
128
        - MB_PYTHON_VERSION=pypy-6.0
Andrew Murray's avatar
Andrew Murray committed
129
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
130
131
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
132
        - MB_PYTHON_VERSION=pypy-7.0
Andrew Murray's avatar
Andrew Murray committed
133
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
134
135
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
136
        - MB_PYTHON_VERSION=pypy-7.1
Andrew Murray's avatar
Andrew Murray committed
137
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
138
139
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
140
        - MB_PYTHON_VERSION=pypy-7.2
Andrew Murray's avatar
Andrew Murray committed
141
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
142
    # Default OSX (xcode image) is 10.13 (xcode 9.4.1) as of 2018-08-03
Andrew Murray's avatar
Andrew Murray committed
143
    # See: https://docs.travis-ci.com/user/reference/osx/
144
145
146
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
147
        - MB_PYTHON_VERSION=3.7
148
        - TEST_BUILDS=1
149
150
151
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
152
        - MB_PYTHON_VERSION=3.7
153
        - MB_PYTHON_OSX_VER=10.9
154
        - TEST_BUILDS=1
155
156
157
    - os: osx
      osx_image: xcode10
      env:
Matthew Brett's avatar
Matthew Brett committed
158
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
159
160
161
    - os: osx
      osx_image: xcode10
      env:
Matthew Brett's avatar
Matthew Brett committed
162
        - MB_PYTHON_VERSION=3.8
Andrew Murray's avatar
Andrew Murray committed
163
164
165
    - os: osx
      osx_image: xcode10.1
      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: xcode10
      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.4
      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.3
      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.2
      env:
Matthew Brett's avatar
Matthew Brett committed
182
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
183
184
185
    - os: osx
      osx_image: xcode9.1
      env:
Matthew Brett's avatar
Matthew Brett committed
186
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
187
188
189
    - os: osx
      osx_image: xcode9
      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.3
      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.2
      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: xcode8.1
      env:
Matthew Brett's avatar
Matthew Brett committed
202
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
203
204
205
    - os: osx
      osx_image: xcode8
      env:
Matthew Brett's avatar
Matthew Brett committed
206
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
207
208
209
    - os: osx
      osx_image: xcode7.3
      env:
Matthew Brett's avatar
Matthew Brett committed
210
        - MB_PYTHON_VERSION=3.5
211
212

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