Permalink
Browse files

Add support for tox (http://tox.testrun.org/) for quick local testing

across multiple Pythons.
  • Loading branch information...
1 parent 18a6477 commit 2949eb9b2ac76d4e18e3d849f1e2fb93188af655 @msabramo msabramo committed May 11, 2012
Showing with 21 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +10 −0 master/tox.ini
  3. +10 −0 slave/tox.ini
View
@@ -39,3 +39,4 @@ apidocs/reference.tgz
common/googlecode_upload.py
master/docs/tutorial/_build
_build
+.tox
View
@@ -0,0 +1,10 @@
+# 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 = py25, py26, py27
+
+[testenv]
+commands = python setup.py test
View
@@ -0,0 +1,10 @@
+# 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 = py24, py25, py26, py27
+
+[testenv]
+commands = python setup.py test

0 comments on commit 2949eb9

Please sign in to comment.