Add venv tox environment
The post branch-tarball fails - OpenStack CI needs a venv environment in tox.ini. Add it. Example failure log: http://logs.openstack.org/58/580d617db8877fb7033533dc85bba03b3c21c944/post/publish-openstack-python-branch-tarball/fd45869 Change-Id: I96cb6f5dc401f4f3788fe72ec645095fbc0c6741
This commit is contained in:
parent
ec0a07baeb
commit
2bcec36ee8
5
tox.ini
5
tox.ini
|
@ -20,6 +20,11 @@ commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
rm -Rf .testrepository/times.dbm
|
rm -Rf .testrepository/times.dbm
|
||||||
|
|
||||||
|
[testenv:venv]
|
||||||
|
basepython=python3
|
||||||
|
commands =
|
||||||
|
{posargs}
|
||||||
|
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue