Add support for bindep

Change-Id: I2d80c547daf403c9467d8924d821c27dc4131606
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-06-03 23:44:15 -04:00
parent 748d5bed81
commit e23f599e4d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 12 additions and 0 deletions

4
other-requirements.txt Normal file
View File

@ -0,0 +1,4 @@
mysql-client [test]
mysql-server [test]
postgresql [test]
postgresql-client [test]

View File

@ -17,6 +17,14 @@ deps = -r{toxinidir}/requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:bindep]
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
deps = bindep
commands = bindep test
[testenv:pep8]
commands = flake8 {posargs}