.travis.yml 3.86 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

9
10
11
matrix:
  include:
    - os: linux
12
      dist: trusty
13
14
    # 64-bit builds
    - os: linux
15
      dist: xenial
16
17
      env:
        - TEST_BUILDS=1
Matthew Brett's avatar
Matthew Brett committed
18
19
20
21
22
23
    # 64-bit builds, manylinux2014
    - os: linux
      dist: xenial
      env:
        - TEST_BUILDS=1
        - MB_ML_VER=2010
24
    # 32-bit builds
25
    - os: linux
26
      dist: xenial
27
28
      env:
        - TEST_BUILDS=1
29
30
        - PLAT=i686
    # Builds with caching
xoviat's avatar
xoviat committed
31
    - os: linux
32
      dist: xenial
xoviat's avatar
xoviat committed
33
34
35
      env:
        - TEST_BUILDS=1
        - USE_CCACHE=1
36
    # OSX builds
37
38
    - os: osx
      env:
39
        - PYTHON_VERSION=2.7
40
        - TEST_BUILDS=1
41
42
    - os: osx
      env:
43
        - PYTHON_VERSION=2.7
44
45
        - MB_PYTHON_OSX_VER=10.9
        - TEST_BUILDS=1
46
47
48
    - os: osx
      language: objective-c
      env:
49
        - PYTHON_VERSION=2.7
50
51
52
        - VENV=venv
    - os: osx
      env:
53
        - PYTHON_VERSION=3.5
54
55
    - os: osx
      env:
56
        - PYTHON_VERSION=3.5
57
        - VENV=venv
Matthew Brett's avatar
Matthew Brett committed
58
59
    - os: osx
      env:
60
        - PYTHON_VERSION=3.6
Matthew Brett's avatar
Matthew Brett committed
61
        - VENV=venv
62
63
64
65
66
67
68
69
70
    - os: osx
      env:
        - PYTHON_VERSION=3.6
        - VENV=venv
        - MB_PYTHON_OSX_VER=10.9
    - os: osx
      env:
        - PYTHON_VERSION=3.7
        - VENV=venv
xoviat's avatar
xoviat committed
71
72
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
73
74
        - PYTHON_VERSION=3.7
        - VENV=venv
75
        - MB_PYTHON_OSX_VER=10.9
Matthew Brett's avatar
Matthew Brett committed
76
77
78
    - os: osx
      env:
        - PYTHON_VERSION=3.7
xoviat's avatar
xoviat committed
79
80
        - VENV=venv
        - USE_CCACHE=1
Kyle Stewart's avatar
Kyle Stewart committed
81
82
    - os: osx
      env:
83
        - PYTHON_VERSION=pypy-4.0
Kyle Stewart's avatar
Kyle Stewart committed
84
85
86
        - VENV=venv
    - os: osx
      env:
87
        - PYTHON_VERSION=pypy-5.0
Kyle Stewart's avatar
Kyle Stewart committed
88
89
90
        - VENV=venv
    - os: osx
      env:
91
        - PYTHON_VERSION=pypy-5.1
Kyle Stewart's avatar
Kyle Stewart committed
92
93
94
        - VENV=venv
    - os: osx
      env:
95
        - PYTHON_VERSION=pypy-5.3
Kyle Stewart's avatar
Kyle Stewart committed
96
97
98
        - VENV=venv
    - os: osx
      env:
99
        - PYTHON_VERSION=pypy-5.4
Kyle Stewart's avatar
Kyle Stewart committed
100
101
102
        - VENV=venv
    - os: osx
      env:
103
        - PYTHON_VERSION=pypy-5.6
Kyle Stewart's avatar
Kyle Stewart committed
104
105
106
        - VENV=venv
    - os: osx
      env:
107
        - PYTHON_VERSION=pypy-5.7
Kyle Stewart's avatar
Kyle Stewart committed
108
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
109
110
111
112
113
114
115
116
    - os: osx
      env:
        - PYTHON_VERSION=pypy-5.8
        - VENV=venv
    - os: osx
      env:
        - PYTHON_VERSION=pypy-5.9
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
117
118
119
120
    - os: osx
      env:
        - PYTHON_VERSION=pypy-6.0
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
121
122
123
124
    - os: osx
      env:
        - PYTHON_VERSION=pypy-7.0
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
125
126
127
128
    - os: osx
      env:
        - PYTHON_VERSION=pypy-7.1
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
129
    # Default OSX (xcode image) is 10.13 (xcode 9.4.1) as of 2018-08-03
Andrew Murray's avatar
Andrew Murray committed
130
    # See: https://docs.travis-ci.com/user/reference/osx/
131
132
133
134
    - os: osx
      osx_image: xcode10.1
      env:
        - PYTHON_VERSION=3.7
135
        - TEST_BUILDS=1
136
137
138
139
140
    - os: osx
      osx_image: xcode10.1
      env:
        - PYTHON_VERSION=3.7
        - MB_PYTHON_OSX_VER=10.9
141
        - TEST_BUILDS=1
142
143
144
145
    - os: osx
      osx_image: xcode10
      env:
        - PYTHON_VERSION=3.7
Andrew Murray's avatar
Andrew Murray committed
146
147
148
149
    - os: osx
      osx_image: xcode10.1
      env:
        - PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
150
151
152
153
    - os: osx
      osx_image: xcode10
      env:
        - PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
154
155
156
157
    - os: osx
      osx_image: xcode9.4
      env:
        - PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
158
159
160
161
    - os: osx
      osx_image: xcode9.3
      env:
        - PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
162
163
164
165
166
167
168
169
170
171
172
173
    - os: osx
      osx_image: xcode9.2
      env:
        - PYTHON_VERSION=3.5
    - os: osx
      osx_image: xcode9.1
      env:
        - PYTHON_VERSION=3.5
    - os: osx
      osx_image: xcode9
      env:
        - PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
    - os: osx
      osx_image: xcode8.3
      env:
        - PYTHON_VERSION=3.5
    - os: osx
      osx_image: xcode8.2
      env:
        - PYTHON_VERSION=3.5
    - os: osx
      osx_image: xcode8.1
      env:
        - PYTHON_VERSION=3.5
    - os: osx
      osx_image: xcode8
      env:
        - PYTHON_VERSION=3.5
    - os: osx
      osx_image: xcode7.3
      env:
        - PYTHON_VERSION=3.5
194
195

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