Simplified tox config with section substitution.

This commit is contained in:
Jannis Leidel
2013-05-27 11:07:33 +02:00
parent 6affca5a72
commit 4f2369832e

81
tox.ini
View File

@@ -1,5 +1,26 @@
[deps]
two =
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup
unittest2
three =
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup4
[tox]
distribute = False
envlist =
py33-1.5.X,
py32-1.5.X,
@@ -18,80 +39,34 @@ commands =
basepython = python3.3
deps =
Django>=1.5,<1.6
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup4
{[deps]three}
[testenv:py32-1.5.X]
basepython = python3.2
deps =
Django>=1.5,<1.6
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup4
{[deps]three}
[testenv:py27-1.5.X]
basepython = python2.7
deps =
Django>=1.5,<1.6
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup
unittest2
{[deps]two}
[testenv:py26-1.5.X]
basepython = python2.6
deps =
Django>=1.5,<1.6
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup
unittest2
{[deps]two}
[testenv:py27-1.4.X]
basepython = python2.7
deps =
Django>=1.4,<1.5
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup
unittest2
{[deps]two}
[testenv:py26-1.4.X]
basepython = python2.6
deps =
Django>=1.4,<1.5
flake8
django-discover-runner
coverage
html5lib
mock
jinja2
lxml
BeautifulSoup
unittest2
{[deps]two}