summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2016-12-21 13:39:03 +1100
committerTony Breeds <tony@bakeyournoodle.com>2016-12-21 13:39:03 +1100
commit79f75a7f7001e2e0ed6228ed819a2476b97c7b13 (patch)
tree2b890d0da2dbd69be22ec1ecd797a601a06be35c /tox.ini
parent555bc479316abf8b9c5798b466f2d65deee34f50 (diff)
downloadstevedore-79f75a7f7001e2e0ed6228ed819a2476b97c7b13.tar.gz
Add Constraints support
Adding constraints support to libraries is slightly more complex than services as the libraries themselves are listed in upper-constraints.txt which leads to errors that you can't install a specific version and a constrained version. This change adds constraints support by also adding a helper script to edit the constraints to remove stevedore. Change-Id: I7a1285a2c3882b02987bfa95950689f5282aa407
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index af48b25..c9f1eea 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,13 @@
[tox]
+minversion = 2.0
envlist = py35,py34,py27,pep8,docs
[testenv]
+setenv =
+ VIRTUAL_ENV={envdir}
+ BRANCH_NAME=master
+ CLIENT_NAME=stevedore
+install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
deps =
-r{toxinidir}/test-requirements.txt
distribute = False