Merge "Update tox.ini: Constraints are possible for api* jobs"
This commit is contained in:
commit
439f9c7800
8
tox.ini
8
tox.ini
@ -85,20 +85,12 @@ commands =
|
|||||||
[testenv:api-guide]
|
[testenv:api-guide]
|
||||||
# This environment is called from CI scripts to test and publish
|
# This environment is called from CI scripts to test and publish
|
||||||
# the API Guide to developer.openstack.org.
|
# the API Guide to developer.openstack.org.
|
||||||
# NOTE(sdague): this target does not use constraints because
|
|
||||||
# upstream infra does not yet support it. Once that's fixed, we can
|
|
||||||
# drop the install_command.
|
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W -b html -d api-guide/build/doctrees api-guide/source api-guide/build/html
|
sphinx-build -W -b html -d api-guide/build/doctrees api-guide/source api-guide/build/html
|
||||||
|
|
||||||
[testenv:api-ref]
|
[testenv:api-ref]
|
||||||
# This environment is called from CI scripts to test and publish
|
# This environment is called from CI scripts to test and publish
|
||||||
# the API Ref to developer.openstack.org.
|
# the API Ref to developer.openstack.org.
|
||||||
# NOTE(sdague): this target does not use constraints because
|
|
||||||
# upstream infra does not yet support it. Once that's fixed, we can
|
|
||||||
# drop the install_command.
|
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
||||||
commands =
|
commands =
|
||||||
rm -rf api-ref/build
|
rm -rf api-ref/build
|
||||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||||
|
Loading…
Reference in New Issue
Block a user