Make sure that tox uses python2 by default

Our documentation tools are not python3 compatible, so make sure that
tox creates python2 virtual environments during tests.

Change-Id: I86f160fb952ebce8abbac166fe43aae0e7d57005
This commit is contained in:
Gauvain Pocentek 2014-10-31 08:35:20 +01:00
parent 4dcfd29b71
commit 5d3fb63eaa

View File

@ -4,6 +4,7 @@ envlist = checkniceness,checksyntax,checkdeletions,checkbuild,checklinks
skipsdist = True
[testenv]
basepython = python2
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt