Upper constraints is supported for all jobs in tox.ini

Openstack infra now supports upper constraints for
all jobs. This patch removes install_command for
upper constraints from all post jobs.

Change-Id: Ic173e442db3ecbaee73b6dc328082b51ab502ff4
Closes-Bug: #1614117
This commit is contained in:
Shu Muto 2016-08-18 17:51:50 +09:00
parent 666b33b36d
commit e91ecb39bc

10
tox.ini
View File

@ -32,21 +32,18 @@ commands =
bandit -r zun -x tests -n5 -ll
[testenv:pep8-constraints]
install_command = {[testenv:common-constraints]install_command}
commands = flake8 {posargs}
[testenv:venv]
commands = {posargs}
[testenv:venv-constraints]
install_command = {[testenv:common-constraints]install_command}
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:cover-constraints]
install_command = {[testenv:common-constraints]install_command}
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
@ -55,14 +52,12 @@ commands =
python setup.py build_sphinx
[testenv:docs-constraints]
install_command = {[testenv:common-constraints]install_command}
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[testenv:debug-constraints]
install_command = {[testenv:common-constraints]install_command}
commands = oslo_debug_helper {posargs}
[flake8]
@ -83,11 +78,6 @@ commands =
{toxinidir}/tools/fast8.sh
[testenv:releasenotes]
# NOTE(sheel.rana): 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]