Support multiple environments specification in [testenv: ...]

Issue #159 on hold
rutsky created an issue

It would be convenient to specify settings for multiple environments in tox.ini. E.g. intead of

[tox]
envlist = py26, py27, py32, py33

[testenv:py26]
usedevelop=True
commands = {envpython} tests/test.py
deps = -r{toxinidir}/requirements2.txt

[testenv:py27]
usedevelop=True
commands = {envpython} tests/test.py
deps = -r{toxinidir}/requirements2.txt

[testenv:py32]
usedevelop=True
commands = {envpython} tests/test.py
deps = -r{toxinidir}/requirements3.txt

[testenv:py33]
usedevelop=True
commands = {envpython} tests/test.py
deps = -r{toxinidir}/requirements3.txt

specify:

[tox]
envlist = py26, py27, py32, py33

[testenv:py26,py27]
usedevelop=True
commands = {envpython} tests/test.py
deps = -r{toxinidir}/requirements2.txt

[testenv:py32,py33]
usedevelop=True
commands = {envpython} tests/test.py
deps = -r{toxinidir}/requirements3.txt

Comments (2)

  1. Log in to comment