election/tox.ini
Roman Gorshunov 1828793962 Add gate for docs build
Change-Id: Ib5707c9068fb59d25872a09316aea27f60139296
2019-07-02 14:02:49 +02:00

16 lines
315 B
INI

[tox]
skipsdist = True
envlist = docs
[testenv]
passenv=HTTP_PROXY HTTPS_PROXY http_proxy https_proxy NO_PROXY no_proxy
whitelist_externals =
rm
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
sphinx-build -W -b html doc/source doc/build/html