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: I7ae8c806e6d5cbd3f4bc8f70708f1d59a0f4a04e
This commit is contained in:
Gauvain Pocentek 2014-10-31 08:50:03 +01:00
parent f127f394bb
commit 9ff95ceb08
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