Skip to content

Commit ed49797

Browse files
committed
Fix for missing 3
1 parent 80f3ccb commit ed49797

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ matrix:
157157
# Test a PyPy 2.7 build
158158
- os: linux
159159
dist: trusty
160-
env: PYPY=7.3 PYTHON=2.7 CPP=11 GCC=4.8
160+
env: PYPY=7.3.1 PYTHON=2.7 CPP=11 GCC=4.8
161161
name: PyPy 7.3, Python 2.7, c++11, gcc 4.8
162162
addons:
163163
apt:
@@ -167,7 +167,7 @@ matrix:
167167
- gfortran
168168
- os: linux
169169
dist: xenial
170-
env: PYPY=7.3 PYTHON=3.6 CPP=11 GCC=5
170+
env: PYPY=7.3.1 PYTHON=3.6 CPP=11 GCC=5
171171
name: PyPy 7.3, Python 3.6, c++11, gcc 5
172172
addons:
173173
apt:
@@ -239,9 +239,9 @@ before_install:
239239
SCRIPT_RUN_PREFIX="docker exec --tty $containerid"
240240
$SCRIPT_RUN_PREFIX sh -c 'for s in 0 15; do sleep $s; apt-get update && apt-get -qy dist-upgrade && break; done'
241241
else
242-
if [ "$PYPY" = "7.3" ]; then
243-
curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy2.7-v7.3.1-linux64.tar.bz2 | tar xj
244-
PY_CMD=$(echo `pwd`/pypy$PYTHON-v7.3.1-linux64/bin/pypy)
242+
if [ -n "$PYPY" ]; then
243+
curl -fSL https://bitbucket.org/pypy/pypy/downloads/pypy$PYTHON-v$PYPY-linux64.tar.bz2 | tar xj
244+
PY_CMD=$(echo `pwd`/pypy$PYTHON-v$PYPY-linux64/bin/pypy$PY)
245245
CMAKE_EXTRA_ARGS+=" -DPYTHON_EXECUTABLE:FILEPATH=$PY_CMD"
246246
else
247247
PY_CMD=python$PYTHON

0 commit comments

Comments
 (0)