Force using python2.7 for building reports

Last release of subunit2junitxml still doesn't support
python 3. Because tox is being executed from a virtualenv
it could be python command is not of version 2.

This tries to workaround this problem by forcing to
use python2.7

Change-Id: I9d11237f258dffe755e92d0c9622fc6bf0c01202
This commit is contained in:
Federico Ressi 2019-12-16 07:28:38 +01:00
parent d2741460ff
commit 6b6d0fc22f
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ commands =
# --- CI report environments --------------------------------------------------
[testenv:report]
basepython=python
basepython=python2.7
deps = -r {toxinidir}/report-requirements.txt
passenv = {[base]passenv}
setenv = {[base]setenv}