diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2016-12-13 15:00:56 +1100 |
---|---|---|
committer | Tony Breeds <tony@bakeyournoodle.com> | 2016-12-20 14:37:14 +1100 |
commit | a07e1320e74d913b4983ef0f3c8cf20ea1775b13 (patch) | |
tree | 0dbbaf900e3d33de35c12e13c338e92533d11bef /tox.ini | |
parent | d7993bab9dce0efc4a31ee3d31bda0aef5cf6b09 (diff) | |
download | oslo-db-a07e1320e74d913b4983ef0f3c8cf20ea1775b13.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 oslo.db.
Change-Id: I31febfe00698e36f4c2e0e41c3f7bf64acf47adf
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,13 +1,16 @@ [tox] -minversion = 1.8 +minversion = 2.0 envlist = py35,py34,py27,pep8,pip-missing-reqs [testenv] +install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} whitelist_externals = bash env setenv = VIRTUAL_ENV={envdir} BASECOMMAND=bash tools/pretty_tox.sh + BRANCH_NAME=master + CLIENT_NAME=oslo.db {postgresql,all}: PIFPAF_POSTGRESQL=pifpaf -g OS_TEST_DBAPI_ADMIN_CONNECTION run postgresql -- {mysql,all}: PIFPAF_MYSQL=pifpaf -g OS_TEST_DBAPI_ADMIN_CONNECTION run mysql -- |