Skip to content

Commit b95b220

Browse files
committed
Update PYPY 2 installation into Travis CI
1 parent 91e7fbc commit b95b220

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ matrix:
1111
- python: 2.7
1212
env: TOXENV=py27
1313
- python: pypy
14-
env: TOXENV=pypy
14+
env: PYPY_VERSION=2.7-v7.0.0 TOXENV=pypy
1515
- python: 3.5
1616
env: TOXENV=py35
1717
- python: 3.6
@@ -31,9 +31,9 @@ install:
3131
# install 7.0.0. This can be removed once the Python 2 PyPy version in Travis
3232
# includes a fix.
3333
- |
34-
if [ "$TOXENV" = "pypy" ]; then
35-
export PYPY_VERSION="pypy-7.0.0-linux_x86_64-portable"
36-
wget "https://bitbucket.org/squeaky/portable-pypy/downloads/${PYPY_VERSION}.tar.bz2"
34+
if [[ ! -z "$PYPY_VERSION" ]]; then
35+
export PYPY_VERSION="pypy$PYPY_VERSION-linux64"
36+
wget "https://downloads.python.org/pypy/${PYPY_VERSION}.tar.bz2"
3737
tar -jxf ${PYPY_VERSION}.tar.bz2
3838
virtualenv --python="$PYPY_VERSION/bin/pypy" "$HOME/virtualenvs/$PYPY_VERSION"
3939
source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"

0 commit comments

Comments
 (0)