Add tox.ini for multi-version testing

This commit is contained in:
Matt Westcott 2014-04-24 15:19:43 +01:00
parent 9ba91c7e87
commit ead1c19dc0
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
/MANIFEST
/wagtail.egg-info/
/docs/_build/
/.tox/

12
tox.ini Normal file
View file

@ -0,0 +1,12 @@
[tox]
envlist =
py27-dj16-postgres
[testenv]
commands=./runtests.py
[testenv:py27-dj16-postgres]
basepython=python2.7
deps =
Django>=1.6,<1.7
psycopg2==2.5.2