Permalink
Browse files

Add tox.ini for tox (http://tox.testrun.org/)

  • Loading branch information...
1 parent 95be43a commit eae3322891c313be19489daa2083c12218df917d @msabramo msabramo committed Jun 13, 2012
Showing with 27 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +26 −0 tox.ini
View
@@ -6,3 +6,4 @@ dist
docs/_build
docs/_static
*.egg-info
+.tox
View
26 tox.ini
@@ -0,0 +1,26 @@
+# 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 = py26_django13, py26_django14, py27_django13, py27_django14
+
+[testenv]
+commands = {envpython} setup.py test
+
+[testenv:py26_django13]
+basepython = python2.6
+deps = Django==1.3.1
+
+[testenv:py26_django14]
+basepython = python2.6
+deps = Django==1.4
+
+[testenv:py27_django13]
+basepython = python2.7
+deps = Django==1.3.1
+
+[testenv:py27_django14]
+basepython = python2.7
+deps = Django==1.4

0 comments on commit eae3322

Please sign in to comment.