use python3 in tox
Set basepython once in testenv and let the other environments inherit the value. Change-Id: I98aa7d500d2c3abe3f10b09b282ea550bec5f43c Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
c62cda75e5
commit
e6de5e7a88
3
tox.ini
3
tox.ini
|
@ -4,6 +4,7 @@ envlist = docs,py27
|
|||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
install_command = pip install -U {opts} {packages}
|
||||
|
@ -13,11 +14,9 @@ install_command = pip install -U {opts} {packages}
|
|||
commands = doc8 -e .rst specs/ doc/ README.rst
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
commands =
|
||||
doc8 -e .rst specs/ doc/ README.rst
|
||||
sphinx-build -W -b html doc/source doc/build
|
||||
|
|
Loading…
Reference in New Issue