Merge pull request #674 from dangra/pypy

[WIP] try to restore pypy tests
This commit is contained in:
Daniel Graña 2014-04-02 19:45:00 -07:00
commit f3d15085b4
2 changed files with 14 additions and 1 deletions

12
.travis-workarounds.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -e
set -x
if [[ "${TOXENV}" == "pypy" ]]; then
sudo add-apt-repository -y ppa:pypy/ppa
sudo apt-get -qy update
sudo apt-get install -y pypy pypy-dev
# This is required because we need to get rid of the Travis installed PyPy
# or it'll take precedence over the PPA installed one.
sudo rm -rf /usr/local/pypy/bin
fi

View File

@ -9,7 +9,8 @@ matrix:
allow_failures:
- env: TOXENV=pypy
install:
- pip install -M tox
- ./.travis-workarounds.sh
- pip install tox
script: tox
notifications:
irc: