Use upper constraints for all jobs in tox.ini
Openstack infra now supports upper constraints for all jobs. Updated tox.ini to use upper constraints for all jobs. Change-Id: I74a511e3d0f5c76506c0505fd9cc980b48b242a5 Closes-Bug: #1614361
This commit is contained in:
parent
ab3a73d0ce
commit
3b6932f676
13
tox.ini
13
tox.ini
@ -40,10 +40,6 @@ commands =
|
|||||||
--testr-args='^(?!.*test.*coverage).*$'
|
--testr-args='^(?!.*test.*coverage).*$'
|
||||||
|
|
||||||
[testenv:venv]
|
[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}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
@ -55,12 +51,8 @@ commands =
|
|||||||
# 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.
|
|
||||||
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
|
||||||
@ -69,7 +61,6 @@ commands =
|
|||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
||||||
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
@ -82,8 +73,4 @@ max-complexity = 16
|
|||||||
import_exceptions = zaqar.i18n
|
import_exceptions = zaqar.i18n
|
||||||
|
|
||||||
[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…
Reference in New Issue
Block a user