Merge "Add support for bindep"

This commit is contained in:
Jenkins 2016-06-21 12:07:27 +00:00 committed by Gerrit Code Review
commit a6dabffecd
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

@ -18,6 +18,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]
# streamer is python3 only, so we need to run flake8 in python3
basepython = python3