|
|
|
@ -18,16 +18,6 @@ whitelist_externals =
|
|
|
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PBR_VERSION |
|
|
|
|
|
|
|
|
|
[testenv:api-ref] |
|
|
|
|
# This environment is called from CI scripts to test and publish |
|
|
|
|
# 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. |
|
|
|
|
# |
|
|
|
|
# we do not used -W here because we are doing some slightly tricky |
|
|
|
|
# things to build a single page document, and as such, we are ok |
|
|
|
|
# ignoring the duplicate stanzas warning. |
|
|
|
|
install_command = pip install -U --force-reinstall {opts} {packages} |
|
|
|
|
commands = |
|
|
|
|
rm -rf api-ref/build |
|
|
|
|
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html |
|
|
|
@ -80,10 +70,6 @@ commands =
|
|
|
|
|
bash tools/cover.sh |
|
|
|
|
|
|
|
|
|
[testenv:venv] |
|
|
|
|
# NOTE(jaegerandi): 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 = {posargs} |
|
|
|
|
|
|
|
|
|
[testenv:debug] |
|
|
|
@ -148,10 +134,6 @@ commands=
|
|
|
|
|
python setup.py build_sphinx |
|
|
|
|
|
|
|
|
|
[testenv:releasenotes] |
|
|
|
|
# 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 = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |
|
|
|
|
|
|
|
|
|
[testenv:genconfig] |
|
|
|
|