Skip to content

Commit ed05d38

Browse files
committed
a hack to upgrade pypy2 to 5.7.1
1 parent 9b97068 commit ed05d38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ python:
1111
- 2.7
1212
- 2.6
1313
before_install:
14+
- cd $HOME
15+
- "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.7.1-linux_x86_64-portable.tar.bz2 | tar -jxvf && echo 'Setting up aliases...' && ln -s pypy-5.7.1-linux_x86_64-portable pypy2-latest && export PATH=$HOME/pypy2-latest/bin/:$PATH && ln -s ~/pypy2-latest/bin/pypy ~/bin/python && echo 'Setting up pip...' && pypy-latest/bin/pypy -m ensurepip ; fi"
16+
- cd -
1417
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install weakrefset; fi
1518
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
1619
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then

0 commit comments

Comments
 (0)