From d3dfd1ae7f09128893ccec1bfe7e1bb076d33b0a Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Tue, 22 Apr 2014 09:48:07 +0200 Subject: Add tox.ini To allow testing different python versions --- .gitignore | 1 + tox.ini | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index e9b90d1..e440596 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .coverage +.tox *.pyc *~ build/ diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..68a25f8 --- /dev/null +++ b/tox.ini @@ -0,0 +1,13 @@ +# 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, py33, py34 + +[testenv] +commands = python setup.py nosetests +deps = + nose + mock -- cgit v1.2.3