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: I5dca3a92773ffb499c7ba693e2b010cd8e19e8e2
This commit is contained in:
Gauvain Pocentek 2014-10-31 08:40:25 +01:00
parent 070adcaf6d
commit 40d76e2ca5
1 changed files with 1 additions and 0 deletions

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