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:
AvnishPal 2016-08-18 12:41:26 +05:30 committed by wangxiyuan
parent ab3a73d0ce
commit 3b6932f676

13
tox.ini
View File

@ -40,10 +40,6 @@ commands =
--testr-args='^(?!.*test.*coverage).*$'
[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:docs]
@ -55,12 +51,8 @@ commands =
# 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.
whitelist_externals = bash
rm
install_command = pip install -U --force-reinstall {opts} {packages}
commands =
rm -rf api-ref/build
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}
[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
[flake8]
@ -82,8 +73,4 @@ max-complexity = 16
import_exceptions = zaqar.i18n
[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