Add install_command in tox.ini

Change-Id: I2b0c8a0da3485bd64c5fcb8c80aea63ef8982c97
This commit is contained in:
ZhongShengping 2019-04-22 14:27:52 +08:00
parent 80fd5c0c05
commit bb27689e6d

View File

@ -6,6 +6,7 @@ envlist = py{27}{,-mysql,-postgresql},functional,pep8
[testenv]
# NOTE(tonyb): This project has chosen to *NOT* consume upper-constraints.txt
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages}
setenv =
AODH_TEST_DRIVERS=postgresql mysql
mysql: AODH_TEST_DRIVERS=mysql