Merge pull request #83 from richleland/tox

Added config file for tox. Closes #31.
This commit is contained in:
Bryan Veloso 2012-01-06 18:16:19 -08:00
commit eca968599d
2 changed files with 37 additions and 3 deletions

9
.gitignore vendored
View file

@ -1,7 +1,10 @@
*.pyc
*.db
*.egg*
*.orig
*.pyc
.DS_Store
dist
build
.tox
MANIFEST
build
dist
/tests/media

31
tox.ini Normal file
View file

@ -0,0 +1,31 @@
[tox]
envlist =
py27-django13,
py27-django12,
py26-django13,
py26-django12
[testenv]
changedir = tests
setenv = PYTHONPATH = {toxinidir}/tests
commands = django-admin.py test core --settings=settings
[testenv:py27-django13]
deps =
Django>=1.3,<=1.4
Pillow
[testenv:py27-django12]
deps =
Django>=1.2,<=1.3
Pillow
[testenv:py26-django13]
deps =
Django>=1.3,<=1.4
Pillow
[testenv:py26-django12]
deps =
Django>=1.2,<=1.3
Pillow