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: Ibd2c90826db6d07193e3f01c25cb49ee9994b404 Closes-Bug: #1614361
This commit is contained in:
parent
138371ecdc
commit
21e1a4d4c1
8
tox.ini
8
tox.ini
|
@ -61,8 +61,6 @@ commands =
|
|||
python setup.py build_sphinx
|
||||
|
||||
[testenv:releasenotes]
|
||||
# Note: remove once infra supports constraints for this target
|
||||
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
|
||||
|
||||
|
@ -70,10 +68,6 @@ commands =
|
|||
[testenv:cover]
|
||||
# Also do not run test_coverage_ext tests while gathering coverage as those
|
||||
# tests conflict with coverage.
|
||||
# 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.
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands =
|
||||
coverage erase
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
@ -81,8 +75,6 @@ commands =
|
|||
coverage html --include='tacker/*' -d covhtml -i
|
||||
|
||||
[testenv:venv]
|
||||
# Note: remove once infra supports constraints for this target
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
|
|
Loading…
Reference in New Issue