Update tox.ini for upper constraints

Openstack infra now supports upper constraints for
all jobs. Updated tox.ini to use upper constraints
for all jobs.

Change-Id: Ie446293f52a87ba89e090d566e3d62141a5c4f51
Closes-Bug: #1614361
This commit is contained in:
AvnishPal 2016-08-23 10:34:30 +05:30
parent 019525b07b
commit d1b4a4b8b5

View File

@ -56,8 +56,6 @@ commands =
sitepackages = True sitepackages = True
[testenv:releasenotes] [testenv:releasenotes]
# TODO(ihrachys): remove once infra supports constraints for this target
install_command = pip install -U {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:pep8] [testenv:pep8]
@ -81,16 +79,12 @@ deps = -r{toxinidir}/test-requirements.txt
commands = bandit -r vmware_nsx -n 5 -ll commands = bandit -r vmware_nsx -n 5 -ll
[testenv:cover] [testenv:cover]
# TODO(boden): remove once infra supports constraints for this target
install_command = pip install -U {opts} {packages}
basepython = python2.7 basepython = python2.7
commands = commands =
python setup.py testr --coverage --testr-args='{posargs}' python setup.py testr --coverage --testr-args='{posargs}'
coverage report coverage report
[testenv:venv] [testenv:venv]
# TODO(boden): remove once infra supports constraints for this target
install_command = pip install -U {opts} {packages}
commands = {posargs} commands = {posargs}
[testenv:docs] [testenv:docs]