Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

TOXENV is tox supported env

Daniel Graña971f60d7961b
diff --git a/.travis-install.sh b/.travis-workarounds.sh
similarity index 82%
rename from .travis-install.sh
rename to .travis-workarounds.sh
index 357de55ef..0d9ea2033 100755
--- a/.travis-install.sh
+++ b/.travis-workarounds.sh
@@ -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
diff --git a/.travis.yml b/.travis.yml
index f823d1923..f2f9c4eb2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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: