Added tox file.

This commit is contained in:
Jannis Leidel
2011-01-20 13:01:01 +01:00
parent 9f663fa292
commit 3b67237f80

27
tox.ini Normal file
View File

@@ -0,0 +1,27 @@
[tox]
envlist =
py25, py26, py27, py25-trunk, py26-trunk, py27-trunk
[testenv]
commands =
python setup.py test
deps =
django==1.2.4
# We lied here, these are not really trunk, but rather the 1.3 beta-1, which
# is close enough.
[testenv:py25-trunk]
basepython = python2.5
deps =
http://www.djangoproject.com/download/1.3-beta-1/tarball/
[testenv:py26-trunk]
basepython = python2.6
deps =
http://www.djangoproject.com/download/1.3-beta-1/tarball/
[testenv:py27-trunk]
basepython = python2.7
deps =
http://www.djangoproject.com/download/1.3-beta-1/tarball/