diff --git a/.gitignore b/.gitignore index 08e99d4ec..f7f30b06f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ _trial_temp dropin.cache docs/build *egg-info +.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..e563fb3c7 --- /dev/null +++ b/tox.ini @@ -0,0 +1,12 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py26, py27 + +[testenv] +commands = + pip install --use-mirrors -r .travis/requirements-latest.txt + trial scrapy scrapyd