Test specs jobs

Start with building Sphinx.

Change-Id: Ifb5eec24d7b0dea160b7bce20f96450919a03a0c
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
Dean Troyer 2018-08-31 11:08:49 -05:00
parent 8f0d710960
commit 041563669f
4 changed files with 14 additions and 5 deletions

View File

@ -2,6 +2,7 @@
- project:
check:
jobs:
- build-openstack-sphinx-docs
- openstack-tox-linters
gate:
jobs:

5
doc/requirements.txt Normal file
View File

@ -0,0 +1,5 @@
sphinx>=1.6.2
openstackdocstheme>=1.19.0 # Apache-2.0
# Release Notes
reno>=0.1.1 # Apache2

6
doc/source/index.rst Normal file
View File

@ -0,0 +1,6 @@
StarlingX Specs
===============
.. toctree::
:maxdepth: 2
:caption: Contents:

View File

@ -14,11 +14,8 @@ deps = -r{toxinidir}/test-requirements.txt
[testenv:docs]
basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[testenv:linters]
whitelist_externals = bash