Skip to content

Commit 61466f4

Browse files
committed
Add pypy 6.0 travis config
1 parent 1ae8c42 commit 61466f4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,18 @@ matrix:
6969
- os: osx
7070
osx_image: xcode9
7171
env: PYTHON=3.7 CPP=14 CLANG DEBUG=1
72-
# Test a PyPy 2.7 build
72+
# Test a PyPy 2.7 v5.8 build
7373
- os: linux
7474
env: PYPY=5.8 PYTHON=2.7 CPP=11 GCC=4.8
7575
addons:
7676
apt:
7777
packages: [libblas-dev, liblapack-dev, gfortran]
78+
# Test a PyPy 2.7 v6.0 build
79+
- os: linux
80+
env: PYPY=6.0 PYTHON=2.7 CPP=11 GCC=4.8
81+
addons:
82+
apt:
83+
packages: [libblas-dev, liblapack-dev, gfortran]
7884
# Build in 32-bit mode and tests against the CMake-installed version
7985
- sudo: true
8086
services: docker
@@ -134,6 +140,10 @@ before_install:
134140
curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.8.0-linux64.tar.bz2 | tar xj
135141
PY_CMD=$(echo `pwd`/pypy2-v5.8.0-linux64/bin/pypy)
136142
CMAKE_EXTRA_ARGS+=" -DPYTHON_EXECUTABLE:FILEPATH=$PY_CMD"
143+
elif [ "$PYPY" = "6.0" ]; then
144+
curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy2-v6.0.0-linux64.tar.bz2 | tar xj
145+
PY_CMD=$(echo `pwd`/pypy2-v6.0.0-linux64/bin/pypy)
146+
CMAKE_EXTRA_ARGS+=" -DPYTHON_EXECUTABLE:FILEPATH=$PY_CMD"
137147
else
138148
PY_CMD=python$PYTHON
139149
if [ "$TRAVIS_OS_NAME" = "osx" ]; then

0 commit comments

Comments
 (0)