TOXENV is tox supported env

This commit is contained in:
Daniel Graña 2013-11-07 05:01:32 -02:00
parent ecfa743105
commit 971f60d796
2 changed files with 9 additions and 11 deletions

View File

@ -2,7 +2,7 @@
set -e
set -x
if [[ "${TOX_ENV}" == "pypy" ]]; then
if [[ "${TOXENV}" == "pypy" ]]; then
sudo add-apt-repository -y ppa:pypy/ppa
sudo apt-get -qy update
sudo apt-get install -y pypy
@ -10,5 +10,3 @@ if [[ "${TOX_ENV}" == "pypy" ]]; then
# or it'll take precedence over the PPA installed one.
sudo rm -rf /usr/local/pypy/bin
fi
pip install tox coveralls

View File

@ -1,20 +1,20 @@
language: python
python: 2.7
env:
- TOX_ENV=py27
- TOX_ENV=precise
- TOX_ENV=trunk
- TOX_ENV=pypy
- TOXENV=py27
- TOXENV=precise
- TOXENV=trunk
- TOXENV=pypy
matrix:
allow_failures:
- env: TOX_ENV=pypy
- env: TOXENV=pypy
install:
- ./.travis-install.sh
- ./.travis-workarounds.sh
- pip install -M tox
script:
- tox -e $TOX_ENV
script: tox
notifications:
irc: