Merge "Use upper constraints for all jobs in tox.ini"
This commit is contained in:
commit
5902638d79
15
tox.ini
15
tox.ini
@ -31,13 +31,9 @@ commands =
|
|||||||
python tools/custom_guidelines.py --exclude heat/engine/resources/aws
|
python tools/custom_guidelines.py --exclude heat/engine/resources/aws
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
# Note: infra doesn't support to use of constraints for this target.
|
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
# Note: infra doesn't support to use of constraints for this target.
|
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
||||||
commands =
|
commands =
|
||||||
python setup.py testr --coverage --testr-args='^(?!heat_integrationtests){posargs}'
|
python setup.py testr --coverage --testr-args='^(?!heat_integrationtests){posargs}'
|
||||||
|
|
||||||
@ -51,16 +47,11 @@ commands = python setup.py build_sphinx
|
|||||||
# 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.
|
|
||||||
#
|
|
||||||
# we do not used -W here because we are doing some slightly tricky
|
# 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
|
# things to build a single page document, and as such, we are ok
|
||||||
# ignoring the duplicate stanzas warning.
|
# ignoring the duplicate stanzas warning.
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
rm
|
rm
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
||||||
commands =
|
commands =
|
||||||
rm -rf api-ref/build
|
rm -rf api-ref/build
|
||||||
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||||
@ -86,13 +77,7 @@ local-check-factory = heat.hacking.checks.factory
|
|||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
# Note: infra doesn't support to use of constraints for this target.
|
|
||||||
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
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:install-guide]
|
[testenv:install-guide]
|
||||||
# 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 = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
|
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user