.travis.yml 4.5 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
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
56
    # OSX builds
57
58
    - os: osx
      env:
59
        - MB_PYTHON_VERSION=2.7
60
        - MB_PYTHON_OSX_VER=10.6
61
        - TEST_BUILDS=1
62
63
64
        - OPENSSL_ROOT=openssl-1.0.2u
        - OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
        - OPENSSL_DOWNLOAD_URL=https://ftp.openssl.org/source/old/1.0.2
65
66
    - os: osx
      env:
67
        - MB_PYTHON_VERSION=2.7
68
        - TEST_BUILDS=1
69
70
71
    - os: osx
      language: objective-c
      env:
Matthew Brett's avatar
Matthew Brett committed
72
        - MB_PYTHON_VERSION=2.7
73
74
75
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
76
        - MB_PYTHON_VERSION=3.5
77
78
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
79
        - MB_PYTHON_VERSION=3.5
80
        - VENV=venv
Matthew Brett's avatar
Matthew Brett committed
81
82
    - os: osx
      env:
83
        - MB_PYTHON_VERSION=3.6
84
        - MB_PYTHON_OSX_VER=10.6
Matthew Brett's avatar
Matthew Brett committed
85
        - VENV=venv
86
87
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
88
        - MB_PYTHON_VERSION=3.6
89
        - VENV=venv
xoviat's avatar
xoviat committed
90
91
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
92
        - MB_PYTHON_VERSION=3.7
Matthew Brett's avatar
Matthew Brett committed
93
94
95
        - VENV=venv
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
96
        - MB_PYTHON_VERSION=3.7
xoviat's avatar
xoviat committed
97
98
        - VENV=venv
        - USE_CCACHE=1
mattip's avatar
mattip committed
99
100
    - os: osx
      env:
Matthew Brett's avatar
Matthew Brett committed
101
        - MB_PYTHON_VERSION=3.8
mattip's avatar
mattip committed
102
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
103
104
    - os: osx
      env:
105
        - MB_PYTHON_VERSION=pypy-7.3
mattip's avatar
mattip committed
106
        - TEST_BUILDS=1
Andrew Murray's avatar
Andrew Murray committed
107
        - VENV=venv
Andrew Murray's avatar
Andrew Murray committed
108
    # Default OSX (xcode image) is 10.13 (xcode 9.4.1) as of 2018-08-03
Andrew Murray's avatar
Andrew Murray committed
109
    # See: https://docs.travis-ci.com/user/reference/osx/
110
111
112
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
113
        - MB_PYTHON_VERSION=3.7
114
        - TEST_BUILDS=1
115
116
117
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
118
        - MB_PYTHON_VERSION=3.7
119
        - MB_PYTHON_OSX_VER=10.9
120
        - TEST_BUILDS=1
121
122
123
    - os: osx
      osx_image: xcode10
      env:
Matthew Brett's avatar
Matthew Brett committed
124
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
125
126
127
    - os: osx
      osx_image: xcode10
      env:
Matthew Brett's avatar
Matthew Brett committed
128
        - MB_PYTHON_VERSION=3.8
Andrew Murray's avatar
Andrew Murray committed
129
130
131
    - os: osx
      osx_image: xcode10.1
      env:
Matthew Brett's avatar
Matthew Brett committed
132
        - MB_PYTHON_VERSION=3.5
Andrew Murray's avatar
Andrew Murray committed
133
134
135
    - os: osx
      osx_image: xcode10
      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: xcode9.4
      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.3
      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.2
      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.1
      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
      env:
Matthew Brett's avatar
Matthew Brett committed
156
        - MB_PYTHON_VERSION=3.5
Matthew Brett's avatar
Matthew Brett committed
157
158
159
    - os: osx
      osx_image: xcode8.3
      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.2
      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.1
      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
      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: xcode7.3
      env:
Matthew Brett's avatar
Matthew Brett committed
176
        - MB_PYTHON_VERSION=3.5
177
178
179
180
181
    # ARM aarch 64 builds
    - os: linux
      arch: arm64
      env:
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
182
183
184
        - MB_ML_VER=2014
        - TEST_BUILDS=1
        - PLAT=aarch64
mattip's avatar
mattip committed
185
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
186
187
188
189
190
    #  s390x builds
    - os: linux
      arch: s390x
      env:
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
191
        - MB_ML_VER=2014
192
193
        - TEST_BUILDS=1
        - PLAT=s390x
mattip's avatar
mattip committed
194
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
195
196
197
198
199
    #  ppc64le builds
    - os: linux
      arch: ppc64le
      env:
        - MB_PYTHON_VERSION=3.7
mattip's avatar
mattip committed
200
        - MB_ML_VER=2014
201
202
        - TEST_BUILDS=1
        - PLAT=ppc64le
mattip's avatar
mattip committed
203
        - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
204
205

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