File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments