Added tox.ini

This commit is contained in:
Tom Christie 2012-09-25 12:21:05 +01:00
parent 064e1ba91f
commit d68684e26e

18
tox.ini Normal file
View File

@ -0,0 +1,18 @@
[tox]
downloadcache = {toxworkdir}/cache/
envlist = python2.6-django1.5,python2.6-django1.4,python2.6-django1.3
[testenv]
commands = {envpython} rest_framework/runtests/runtests.py
[testenv:python2.6-django1.5]
basepython = python2.6
deps = https://github.com/django/django/zipball/master
[testenv:python2.6-django1.4]
basepython = python2.6
deps = django>=1.4,<1.5
[testenv:python2.6-django1.3]
basepython = python2.6
deps = django>=1.3,<1.4