mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
131ce117a9
Purpose: so that devs can use tox to run v1 or v2 of ansible with various versions of python. For example `tox -e py27-v2 will run python2.7 on v2. Currently, only py26 and py27 are run on v1 when running just `tox` so that we aren't breaking builds.
21 lines
328 B
INI
21 lines
328 B
INI
[tox]
|
|
envlist = {py26,py27}-v{1}
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
whitelist_externals = make
|
|
|
|
[testenv:py26-v1]
|
|
commands = make tests
|
|
|
|
[testenv:py27-v1]
|
|
commands = make tests
|
|
|
|
[testenv:py26-v2]
|
|
commands = make newtests
|
|
|
|
[testenv:py27-v2]
|
|
commands = make newtests
|
|
|
|
[testenv:py34-v2]
|
|
commands = make newtests
|