Merge "Fix 'tox -e releasenotes' startup"

This commit is contained in:
Zuul 2018-06-04 14:38:12 +00:00 committed by Gerrit Code Review
commit 546202ad0b
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]