.travis.yml 3.27 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
12
env:
  global:
    - PLAT=x86_64

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

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