From 0e88aa69078650569d40a4535f8355690b0e7d01 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Fri, 22 Jun 2012 16:11:26 -0700 Subject: [PATCH] Add tox support (http://tox.testrun.org/) --- .gitignore | 1 + tox.ini | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index c9d198e7..de978f69 100755 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ html/ examples/frameworks/pylonstest/PasteScript* examples/frameworks/pylonstest/pylonstest.egg-info/ examples/frameworks/django/testing/testdb.sql +.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..b92db304 --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +# 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, pypy + +[testenv] +commands = nosetests +deps = nose