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.

http://logs.openstack.org/42/420c840a2b3c40ce057e819d0c7c48406a33e76e/release/monasca-log-api-tarball/1b09581/console.html.gz

Change-Id: I90462831c8ecfe9fcdf42fbebe95dc314d03aef6
(cherry picked from commit 17a215eeac)
This commit is contained in:
Witold Bedyk 2016-03-31 15:28:32 +02:00 committed by Davanum Srinivas (dims)
parent 96735e5ba6
commit 1745e71957
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ setenv =
NOSE_COVER_ERASE=1
NOSE_COVER_MIN_PERCENTAGE=95
[testenv:venv]
commands = {posargs}
[flake8]
exclude = .git,.tox,dist,docs,*.egg,build
show-source = True