Added tox config file

This commit is contained in:
Carlton Gibson 2015-05-16 21:03:23 +02:00
parent 59ac87aa81
commit a32c777e6f
3 changed files with 19 additions and 1 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@
build/
dist/
docs/_build
.python-version
.tox

View File

@ -1,4 +1,3 @@
Django
django-discover-runner
mock
coverage

17
tox.ini Normal file
View File

@ -0,0 +1,17 @@
[tox]
envlist =
{py26,py27}-django14,
{py26,py27,py32,py33,py34}-django{15,16},
{py27,py32,py33,py34}-django{17,18}
[testenv]
commands = ./runtests.py
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django14: Django==1.4.11 # Should track minimum supported
django15: Django==1.5.6 # Should track minimum supported
django16: Django==1.6.3 # Should track minimum supported
django17: Django==1.7.2 # Should track maximum supported
django18: Django==1.8.1 # Should track maximum supported
-rrequirements/test.txt