File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,19 @@ matrix:
143
143
# Test a PyPy 2.7 build
144
144
- os : linux
145
145
dist : trusty
146
- env : PYPY=5.8 PYTHON=2.7 CPP=11 GCC=4.8
147
- name : PyPy 5.8, Python 2.7, c++11, gcc 4.8
146
+ env : PYPY=5.8.0 PYTHON=2.7 CPP=11 GCC=4.8
147
+ name : PyPy 5.8.0, Python 2.7, c++11, gcc 4.8
148
+ addons :
149
+ apt :
150
+ packages :
151
+ - libblas-dev
152
+ - liblapack-dev
153
+ - gfortran
154
+ # Test a PyPy 3.6 build
155
+ - os : linux
156
+ dist : trusty
157
+ env : PYPY=7.3.0 PYTHON=3.6 CPP=11 GCC=4.8
158
+ name : PyPy 7.3.0, Python 3.6, c++11, gcc 4.8
148
159
addons :
149
160
apt :
150
161
packages :
@@ -211,9 +222,9 @@ before_install:
211
222
SCRIPT_RUN_PREFIX="docker exec --tty $containerid"
212
223
$SCRIPT_RUN_PREFIX sh -c 'for s in 0 15; do sleep $s; apt-get update && apt-get -qy dist-upgrade && break; done'
213
224
else
214
- if [ "$PYPY" = "5.8 " ]; then
215
- curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.8.0 -linux64.tar.bz2 | tar xj
216
- PY_CMD=$(echo `pwd`/pypy2-v5.8.0 -linux64/bin/pypy)
225
+ if [ -n "$PYPY" ]; then
226
+ curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy${PYTHON:0:1}-v${PYPY} -linux64.tar.bz2 | tar xj
227
+ PY_CMD=$(echo `pwd`/pypy${PYTHON:0:1}-v${PYPY} -linux64/bin/pypy)
217
228
CMAKE_EXTRA_ARGS+=" -DPYTHON_EXECUTABLE:FILEPATH=$PY_CMD"
218
229
else
219
230
PY_CMD=python$PYTHON
You can’t perform that action at this time.
0 commit comments