Add doc depends to tox releasenotes environment

When I run "tox -e releasenotes" it fails because it doesn't install
any of the sphinx or reno tools.  Add doc dependencies.

Change-Id: Ia8b864fbbe02f0963881d3a393b1a5935a3f16e9
This commit is contained in:
Ian Wienand 2018-10-26 15:23:28 +11:00 committed by Monty Taylor
parent dd5f0f6827
commit 9804985fc7
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 4 additions and 2 deletions

View File

@ -84,8 +84,10 @@ deps =
commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
[testenv:releasenotes]
usedevelop = False
skip_install = True
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]