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: I41e8ab8f3067928c4b38c48344cc029a3cad8996
This commit is contained in:
Gauvain Pocentek 2014-10-31 08:41:40 +01:00
parent 88d277f169
commit 4758bda39b

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