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:
parent
96735e5ba6
commit
1745e71957
3
tox.ini
3
tox.ini
@ -24,6 +24,9 @@ setenv =
|
|||||||
NOSE_COVER_ERASE=1
|
NOSE_COVER_ERASE=1
|
||||||
NOSE_COVER_MIN_PERCENTAGE=95
|
NOSE_COVER_MIN_PERCENTAGE=95
|
||||||
|
|
||||||
|
[testenv:venv]
|
||||||
|
commands = {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
exclude = .git,.tox,dist,docs,*.egg,build
|
exclude = .git,.tox,dist,docs,*.egg,build
|
||||||
show-source = True
|
show-source = True
|
||||||
|
Loading…
Reference in New Issue
Block a user