From be971b28bf6bff2563d788afcfe21190e30a8894 Mon Sep 17 00:00:00 2001 From: Vineet Date: Wed, 5 Feb 2014 22:45:50 +0530 Subject: [PATCH] Add tox --- .gitignore | 1 + tox.ini | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index 65d1c0d..56032d1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ __pycache__ *.egg-info/ build/ dist/ +.tox/ diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..c3c1844 --- /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 = py27, py32 + +[testenv] +commands = nosetests tests/ +deps = + nose