Adds [testenv:venv] section to tox.ini
'publish-to-pypi' Zuul job tries to execute 'tox -evenv python setup.py sdist' and fails without 'venv' being set. See exact change made in monasca-log-api project: I90462831c8ecfe9fcdf42fbebe95dc314d03aef6 Change-Id: I72df080b222596c35e982c14ca2a5b5501f4a1bf
This commit is contained in:
parent
6c2780af1e
commit
f181e467e3
3
tox.ini
3
tox.ini
|
@ -19,6 +19,9 @@ whitelist_externals = bash
|
||||||
deps = -r{toxinidir}/pep8-test-requirements.txt
|
deps = -r{toxinidir}/pep8-test-requirements.txt
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
||||||
|
[testenv:venv]
|
||||||
|
commands = {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore =
|
ignore =
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||||
|
|
Loading…
Reference in New Issue