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:
parent
a326259170
commit
521b6e7dff
9
tox.ini
9
tox.ini
@ -17,9 +17,6 @@ commands = ostestr --slowest {posargs}
|
|||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[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
|
commands = sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
@ -42,16 +39,10 @@ commands =
|
|||||||
commands = bandit -r glance_store -x tests --skip B101,B110,B303
|
commands = bandit -r glance_store -x tests --skip B101,B110,B303
|
||||||
|
|
||||||
[testenv:cover]
|
[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}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage).*$'
|
commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage).*$'
|
||||||
|
|
||||||
[testenv:venv]
|
[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}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:functional-swift]
|
[testenv:functional-swift]
|
||||||
|
Loading…
Reference in New Issue
Block a user