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: I9e2ed1f3d29878e3389f31647bc391ba05df18c1 Closes-Bug: #1614361
This commit is contained in:
parent
a1d4120875
commit
abf724a8ee
12
tox.ini
12
tox.ini
|
@ -20,17 +20,9 @@ commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
# NOTE(from nova tox.ini by jaegerandi): 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 = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
# NOTE(from nova tox.ini by jaegerandi): 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 = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
@ -44,10 +36,6 @@ commands = flake8
|
||||||
commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoagent.conf
|
commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoagent.conf
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
# NOTE(from nova tox.ini by jaegerandi): 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 = 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
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
|
Loading…
Reference in New Issue