Commits

Mark Lavin committed d895eee

Adding tox setup for running tests against multiple python/django versions.

  • Participants
  • Parent commits 58f9134

Comments (0)

Files changed (2)

 dist/*
 *.egg-info/*
 .coverage
+.tox/*
+[tox]
+downloadcache = {toxworkdir}/_download/
+envlist = py26,docs,py25-1.2.X,py26-1.2.X,py25-1.3.X,py26-1.3.X
+
+[testenv]
+commands = {envpython} selectable/tests/runtests.py
+deps = django>=1.4
+
+[testenv:docs]
+basepython = python
+deps =
+    Sphinx
+    Django==1.3.1
+commands =
+    {envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
+
+[testenv:py25-1.2.X]
+basepython = python2.5
+deps = django>=1.2,<1.3
+
+[testenv:py26-1.2.X]
+basepython = python2.6
+deps = django>=1.2,<1.3
+
+
+[testenv:py25-1.3.X]
+basepython = python2.5
+deps = django>=1.3,<1.4
+
+[testenv:py26-1.3.X]
+basepython = python2.6
+deps = django>=1.3,<1.4