diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..f6cd6393 --- /dev/null +++ b/tox.ini @@ -0,0 +1,21 @@ +# 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 run "pip install tox" and then run "tox" from this +# directory. + +[tox] +envlist = py26, py27, py33, py34 + +[testenv] +deps = + pytest +setenv = + PYTHONPATH = {toxinidir}/test +commands = py.test {posargs} + +[testenv:py26] +deps = + pytest + unittest2 +commands = py.test {posargs} |