From 9ae8ea96c4b166d24cd63d63cca046bbff855df7 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Thu, 28 Jun 2012 12:43:12 -0700 Subject: [PATCH 1/2] Add tox.ini for tox (http://tox.testrun.org/) --- tox.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tox.ini 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 From 61952c3be6d46f26be9afc8b32a2ddef4d0782e8 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Thu, 28 Jun 2012 12:43:33 -0700 Subject: [PATCH 2/2] Add .tox to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) 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