Permalink
Browse files

tox: refactor envlist to include Django versions

* Expanded base dependencies
* Set TEST_RUNNER_ARGS=-v0 to reduce console noise
* Add permutations of python 2.5, 2.6, 2.7 and django 1.3 and 1.4
  • Loading branch information...
1 parent fe84deb commit 5626c613569539421d8a261d06495d42c2370c6b @acdha acdha committed Dec 11, 2012
Showing with 38 additions and 3 deletions.
  1. +38 −3 tox.ini
View
41 tox.ini
@@ -1,14 +1,49 @@
[tox]
-envlist = py25,py26,py27,docs
+envlist = docs, py27-django-1.4, py27-django-1.3, py26-django-1.4, py26-django-1.3, py25-django-1.4, py25-django-1.3
downloadcache = {envtmpdir}tox-downloadcache/
+[base]
+deps =
+ mock
+ pysolr
+ poster
+ whoosh
+ pyelasticsearch
+ httplib2
+ python-dateutil
+ geopy
+
[testenv]
setenv =
PYTHONPATH = {toxinidir}/tests
+ TEST_RUNNER_ARGS = -v0
commands =
{toxinidir}/tests/run_all_tests.sh
-deps =
- django==1.3
+deps = {[base]deps}
+
+[testenv:py27-django-1.4]
+deps = django>=1.4,<1.5
+ {[base]deps}
+
+[testenv:py27-django-1.3]
+deps = django>=1.3,<1.4
+ {[base]deps}
+
+[testenv:py26-django-1.4]
+deps = django>=1.4,<1.5
+ {[base]deps}
+
+[testenv:py26-django-1.3]
+deps = django>=1.3,<1.4
+ {[base]deps}
+
+[testenv:py25-django-1.4]
+deps = django>=1.4,<1.5
+ {[base]deps}
+
+[testenv:py25-django-1.3]
+deps = django>=1.3,<1.4
+ {[base]deps}
[testenv:docs]
changedir = docs

0 comments on commit 5626c61

Please sign in to comment.