qa-specs/tox.ini
huang.zhiping c892d7ec11 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I7ca8ecdaaf61337eaed2df9b0679097672ec53e6
2018-10-21 03:19:13 +00:00

30 lines
608 B
INI

[tox]
minversion = 2.0
envlist = docs
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[testenv:spelling]
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands = sphinx-build -b spelling doc/source doc/build/spelling
[testenv:rstcheck]
commands = ./tools/rstcheck.py -d specs
# ./tools/rstcheck.py -d backlog