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: Ib0a64dfee279b1a68c415bcbaf395b3bf040c7ff
Closes-Bug: #1614361
This commit is contained in:
AvnishPal 2016-08-22 12:32:24 +05:30
parent f64d3a358a
commit 3d350ab7d4
1 changed files with 0 additions and 16 deletions

16
tox.ini
View File

@ -40,10 +40,6 @@ commands = rm -rf doc/build
sphinx-build -E -W -b html doc/source doc/build/html
[testenv:cover]
# NOTE(kiall): 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 {opts} {packages}
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:bandit]
@ -105,30 +101,18 @@ passenv = TEMPEST_CONFIG
[testenv:api-ref]
# 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.
#
# 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
# ignoring the duplicate stanzas warning.
install_command = pip install {opts} {packages}
commands =
rm -rf api-ref/build
sphinx-build -E -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
[testenv:releasenotes]
# NOTE(kiall): 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 {opts} {packages}
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:venv]
# NOTE(kiall): 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 {opts} {packages}
commands = {posargs}
[flake8]