Use constraints for all tox environments

Infra is now ready to use constraints everywhere, adapt the
environments to use the default install command instead of a specific
non-constrainted install command.

With this change, now all tox environments use constraints.

Change-Id: Ia5b7e42108395c593e900accadc447932c51f314
This commit is contained in:
Andreas Jaeger 2016-08-10 13:22:48 +02:00
parent a326259170
commit 521b6e7dff
1 changed files with 0 additions and 9 deletions

View File

@ -17,9 +17,6 @@ commands = ostestr --slowest {posargs}
commands = python setup.py build_sphinx
[testenv:releasenotes]
# NOTE(nikhil): 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 --allow-all-external --allow-insecure netaddr -U {opts} {packages}
commands = sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pep8]
@ -42,16 +39,10 @@ commands =
commands = bandit -r glance_store -x tests --skip B101,B110,B303
[testenv:cover]
# NOTE(nikhil): 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 --allow-all-external --allow-insecure netaddr -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage).*$'
[testenv:venv]
# NOTE(nikhil): 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 --allow-all-external --allow-insecure netaddr -U {opts} {packages}
commands = {posargs}
[testenv:functional-swift]