Update tox.ini for tripleo-docs

Removes the pep8 and bindep tox environments. pep8 did not run
successfully as there is no test-requirements.txt file, and there is
nothing to test anyway. bindep also has nothing to test, so it's also

The deploy-guide tox environment is added to the default list so that
just running "tox" results in a full build of the documentation
including the user and deploy guide.

Change-Id: I1990556fec47905d2e137b51bcaefd15fe597dea
James Slagle 2 years ago
parent e484fa1349
commit 6151147daf

@ -1,7 +1,7 @@
minversion = 2.0
skipsdist = True
envlist = docs,pep8,bindep
envlist = docs,deploy-guide
basepython = python3
@ -30,30 +30,6 @@ commands =
sphinx-build --keep-going -b latex doc/source doc/build/pdf
make -C doc/build/pdf
whitelist_externals = bash
deps = -r{toxinidir}/test-requirements.txt
# We fail pretty horribly on bashate right now
#commands = bash -c "find scripts -type f | xargs bashate -v"
# flake8
commands = flake8
show-source = True
exclude = .tox,dist,*.egg,build
deps = {[testenv:docs]deps}
commands = sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files, and develop mode disabled
# explicitly to avoid unnecessarily installing the checked-out repo too (this
# further relies on "tox.skipsdist = True" above).
usedevelop = False
deps = bindep
commands =
bindep test