Merge "Add tox env to build docs"
This commit is contained in:
commit
3722a614a9
@ -158,8 +158,7 @@ function run_pep8 {
|
||||
|
||||
function run_sphinx {
|
||||
echo "Building sphinx..."
|
||||
export DJANGO_SETTINGS_MODULE=openstack_dashboard.settings
|
||||
${command_wrapper} sphinx-build -b html doc/source doc/build/html
|
||||
${command_wrapper} python setup.py build_sphinx
|
||||
echo "Build complete."
|
||||
}
|
||||
|
||||
|
4
tox.ini
4
tox.ini
@ -44,6 +44,10 @@ commands = /bin/bash run_tests.sh -N --integration {posargs}
|
||||
basepython = python2.6
|
||||
commands = /bin/bash run_tests.sh -N --integration {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
setenv = DJANGO_SETTINGS_MODULE=openstack_auth.tests.settings
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user