diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-06-27 07:54:04 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-06-27 07:54:05 +0000 |
commit | f3b099bf637cb644c483e2ca9a9adf1156598ddf (patch) | |
tree | 23cae17cb5898588ffe54a80f16530e70061eb88 | |
parent | d585e5eb9acf92d10d39b6c2038917a7e8ac71bb (diff) | |
parent | d6c6d60ceaa11a2211615adfb841002cd1e23881 (diff) | |
download | horizon-f3b099bf637cb644c483e2ca9a9adf1156598ddf.tar.gz |
Merge "Use upper-constraints in tox test environments" into stable/liberty
-rw-r--r-- | tox.ini | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -5,7 +5,7 @@ skipsdist = True [testenv] usedevelop = True -install_command = pip install -U {opts} {packages} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/liberty} {opts} {packages} setenv = VIRTUAL_ENV={envdir} NOSE_WITH_OPENSTACK=1 NOSE_OPENSTACK_COLOR=1 @@ -66,6 +66,10 @@ commands = /bin/bash run_tests.sh -N --makemessages --check-only [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} [testenv:cover] @@ -97,6 +101,10 @@ setenv = DJANGO_SETTINGS_MODULE=openstack_dashboard.test.settings commands = python setup.py build_sphinx [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 [tox:jenkins] |