Simplified tox config.

This commit is contained in:
Jannis Leidel
2014-11-26 21:28:01 +01:00
parent b371da3849
commit 6090f5ba3c

51
tox.ini
View File

@@ -1,50 +1,17 @@
[tox]
args_are_paths = false
envlist =
py27-1.7, py27-master,
py32-1.7, py32-master,
py33-1.7, py33-master,
py34-1.7, py34-master
envlist = {py27,py32,py33,py34}-django-{17,master}
[testenv]
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
usedevelop = true
commands =
invoke test {posargs}
django17 =
Django>=1.7,<1.8
deps =
django-17: Django>=1.7,<1.8
django-master: https://github.com/django/django/archive/master.zip
-r{toxinidir}/tests/requirements.txt
djangomaster =
https://github.com/django/django/archive/master.zip
-r{toxinidir}/tests/requirements.txt
[testenv:py27-1.7]
basepython = python2.7
deps = {[testenv]django17}
[testenv:py27-master]
basepython = python2.7
deps = {[testenv]djangomaster}
[testenv:py32-1.7]
basepython = python3.2
deps = {[testenv]django17}
[testenv:py32-master]
basepython = python3.2
deps = {[testenv]djangomaster}
[testenv:py33-1.7]
basepython = python3.3
deps = {[testenv]django17}
[testenv:py33-master]
basepython = python3.3
deps = {[testenv]djangomaster}
[testenv:py34-1.7]
basepython = python3.4
deps = {[testenv]django17}
[testenv:py34-master]
basepython = python3.4
deps = {[testenv]djangomaster}