Skip to content

Commit 54cee4b

Browse files
committed
Test PyPy 3.6 on travis
Adapted from #1494
1 parent 25abf7e commit 54cee4b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ matrix:
7676
addons:
7777
apt:
7878
packages: [libblas-dev, liblapack-dev, gfortran]
79+
# Test a PyPy 3.6 build
80+
- os: linux
81+
env: PYPY=7.0 PYTHON=3.6 CPP=11 GCC=4.8
82+
addons:
83+
apt:
84+
packages: [libblas-dev, liblapack-dev, gfortran]
7985
# Build in 32-bit mode and tests against the CMake-installed version
8086
- sudo: true
8187
services: docker
@@ -135,6 +141,10 @@ before_install:
135141
curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.8.0-linux64.tar.bz2 | tar xj
136142
PY_CMD=$(echo `pwd`/pypy2-v5.8.0-linux64/bin/pypy)
137143
CMAKE_EXTRA_ARGS+=" -DPYTHON_EXECUTABLE:FILEPATH=$PY_CMD"
144+
elif [ "$PYPY" = "7.0" ] && [ "$PYTHON" = "3.6" ]; then
145+
curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.0.0-linux64.tar.bz2 | tar xj
146+
PY_CMD=$(echo `pwd`/pypy3.6-v7.0.0-linux64/bin/pypy)
147+
CMAKE_EXTRA_ARGS+=" -DPYTHON_EXECUTABLE:FILEPATH=$PY_CMD"
138148
else
139149
PY_CMD=python$PYTHON
140150
if [ "$TRAVIS_OS_NAME" = "osx" ]; then

0 commit comments

Comments
 (0)