diff options
author | Ethan Lynn <xjunlin@cn.ibm.com> | 2016-07-27 14:07:00 +0800 |
---|---|---|
committer | Ethan Lynn <xjunlin@cn.ibm.com> | 2016-08-02 10:56:37 +0800 |
commit | 12e31c8a263a9272cd58ab110940460a7d356afe (patch) | |
tree | f6056730e80b9e41e107f205dbf026cda5e9291a | |
parent | 656ac73c6c452e2bc14d3fd34b2ea4bc63585c15 (diff) | |
download | heat-12e31c8a263a9272cd58ab110940460a7d356afe.tar.gz |
Always use upper-constraints
This patch modify tox.ini to always use upper-constraints.
Change-Id: I113dd658afebe843db304be6cbc4b1ec5df5d248
(cherry picked from commit 2e6ce706956187d4792e1076dd94379b29ba30ef)
-rw-r--r-- | tox.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -6,7 +6,7 @@ skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} usedevelop = True -install_command = pip install {opts} {packages} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/mitaka} {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -40,9 +40,13 @@ commands = python tools/custom_guidelines.py --exclude heat/engine/resources/aws [testenv:venv] +# Note: infra doesn't support to use of constraints for this target. +install_command = pip install -U --force-reinstall {opts} {packages} commands = {posargs} [testenv:cover] +# Note: infra doesn't support to use of constraints for this target. +install_command = pip install -U --force-reinstall {opts} {packages} commands = python setup.py testr --coverage --testr-args='^(?!heat_integrationtests){posargs}' @@ -73,4 +77,6 @@ import_exceptions = heat.common.i18n commands = oslo_debug_helper {posargs} [testenv:releasenotes] +# Note: infra doesn't support to use of 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 |