1. Holger Krekel
  2. tox
  3. Issues

Issues

Issue #159 on hold

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

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