Merge "Clean up tox.ini"

This commit is contained in:
Zuul 2018-06-06 14:05:10 +00:00 committed by Gerrit Code Review
commit 0c1496145e

View File

@ -106,9 +106,7 @@ ignore = H405
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes,doc,alembic/versions
[testenv:docs]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
rm -rf releasenotes/build
@ -117,9 +115,7 @@ whitelist_externals =
rm
[testenv:releasenotes]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html