Skip to content

Commit 1793e8a

Browse files
committed
a hack to upgrade pypy2 to 5.7.1
1 parent 520c6d7 commit 1793e8a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@ language: python
33
notifications:
44
email: false
55
python:
6+
- pypy
67
- 3.6
78
- 3.5
89
- 3.4
910
- 3.3
1011
- 2.7
1112
- 2.6
12-
- pypy
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 -O - | tar -jxf - && echo 'Setting up aliases...' && ln -s pypy-5.7.1-linux_x86_64-portable pypy2-latest && export PATH=$HOME/pypy2-latest/bin/:$PATH && virtualenv --no-site-packages --python ~/pypy2-latest/bin/pypy pypy2-env && echo 'Creating custom env...' && source pypy2-env/bin/activate && python -V; fi"
16+
- cd -
1417
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
1518
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
1619
mv min_requirements.txt requirements.txt ;
1720
fi
18-
- pip install --upgrade setuptools "pip==7.1"
1921
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
2022
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
2123
- pip install -r tests/requirements.txt

0 commit comments

Comments
 (0)