summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-04-22 09:48:07 +0200
committerGuido Günther <agx@sigxcpu.org>2014-04-22 13:35:46 +0200
commitd3dfd1ae7f09128893ccec1bfe7e1bb076d33b0a (patch)
tree138033914ccd00dd75763c6c03cb6e3785135e2e
parentf5d3643965f51748b08b616b2898e53242673a67 (diff)
Add tox.ini
To allow testing different python versions
-rw-r--r--.gitignore1
-rw-r--r--tox.ini13
2 files changed, 14 insertions, 0 deletions
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