Use constraints for all tox environments
Infra is now ready to use constraints everywhere [1], so adapt releasenotes, coverage, and venv to use the default install command instead of a specific non-constrained install command. With this change, all tox environments now use constraints. [1] http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html Change-Id: I879f34129c0d958be0a73bfdc7f641e178d4efe9
This commit is contained in:
parent
9daffb12af
commit
66023c52f8
12
tox.ini
12
tox.ini
@ -41,10 +41,6 @@ commands =
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees/v2 api-ref/v2/source api-ref/build/html/v2
|
||||
|
||||
[testenv:releasenotes]
|
||||
# NOTE(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
|
||||
|
||||
[testenv:functional]
|
||||
@ -82,10 +78,6 @@ commands = bash tools/lintstack.sh
|
||||
[testenv:cover]
|
||||
# Also do not run test_coverage_ext tests while gathering coverage as those
|
||||
# tests conflict with coverage.
|
||||
# NOTE(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='^(?!.*test.*coverage).*$'
|
||||
@ -102,10 +94,6 @@ envdir = {toxworkdir}/pep8
|
||||
commands = python cinder/config/generate_cinder_opts.py
|
||||
|
||||
[testenv:venv]
|
||||
# NOTE(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}
|
||||
|
||||
[testenv:docs]
|
||||
|
Loading…
Reference in New Issue
Block a user