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:
Davanum Srinivas 2016-04-05 09:32:54 -04:00
parent 6c2780af1e
commit f181e467e3
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ whitelist_externals = bash
deps = -r{toxinidir}/pep8-test-requirements.txt
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
ignore =
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build