Stop install unnecessary packages when run tox -edocs

requirements.txt is unnecessary when run tox -e docs,
docs relative stuffs is in doc/requirements.txt, this ps to
remove the requirements.txt from tox.ini

Change-Id: I69b5a12128669de877a27fbbd09ffde8d8149508
This commit is contained in:
zhoulinhui
2020-10-03 00:47:06 +08:00
parent 093c9f2f90
commit ae88bef00a

View File

@@ -26,7 +26,6 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html