aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2012-09-25 12:21:05 +0100
committerTom Christie2012-09-25 12:21:05 +0100
commitd68684e26eb8765e0c4eb7d56deee03bed9df5c9 (patch)
tree874777b73ab2291b4180e175f1571a272ba30711
parent064e1ba91ff36cda76d3e5eecdc7a0dd2c160f46 (diff)
downloaddjango-rest-framework-d68684e26eb8765e0c4eb7d56deee03bed9df5c9.tar.bz2
Added tox.ini
-rw-r--r--tox.ini18
1 files changed, 18 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..d24e694a
--- /dev/null
+++ b/tox.ini
@@ -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