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:
Andreas Jaeger 2018-08-24 21:19:52 +02:00
parent ec0a07baeb
commit 2bcec36ee8
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ commands =
find . -type f -name "*.pyc" -delete
rm -Rf .testrepository/times.dbm
[testenv:venv]
basepython=python3
commands =
{posargs}
[testenv:py27]
basepython = python2.7
commands =