summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 17:36:21 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-03-24 21:02:38 -0400
commit880f29d72e436ab3a63a62c82c2f23d2a94b1a01 (patch)
treed29963b6f34709b8a01d6f59383c53a399ecdf07 /tox.ini
parent38555f618324d81b1cb73b30e4ceeff2759e4594 (diff)
downloadoslo-middleware-880f29d72e436ab3a63a62c82c2f23d2a94b1a01.tar.gz
add lower-constraints job
Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: I477dc48b392c20e93c69464b2b45c21ba7f4805b Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 87478a2..ab9cdfc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -48,3 +48,10 @@ commands = pip-missing-reqs -d --ignore-module=oslo_middleware* --ignore-module=
[testenv:releasenotes]
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt