Fix 'tox -e releasenotes' startup

Change-Id: Ibca5d700371f3d649c3656d2e85a773ae7751d08
This commit is contained in:
Ivan Kolodyazhny 2018-05-24 21:29:16 -07:00
parent 62bd81ca49
commit f1795bafbf
3 changed files with 5 additions and 3 deletions

View File

@ -4,3 +4,4 @@
oslo.config>=5.2.0 # Apache-2.0
openstackdocstheme>=1.18.1 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
reno>=2.7.0 # Apache-2.0

View File

@ -11,10 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration ----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be

View File

@ -63,6 +63,10 @@ local-check-factory = vitrage.hacking.checks.factory
import_exceptions = vitrage.i18n
[testenv:releasenotes]
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
[testenv:lower-constraints]