Add bindep support to tox

This change will allow a developer to run bindep via tox to install all of
the required system packages needed to run general tests.

> Integration `tox -e bindep`

This will also allow CI to using the bindep file to install basic required
packages as needed.

Change-Id: I83e5e4f8dd5bb9acd4e6b21bf86f729bfc5447d4
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
Kevin Carter
2019-06-07 14:42:58 -05:00
parent 6e448dcbed
commit 8862ea8385
4 changed files with 96 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ deps =
commands = stestr run {posargs}
whitelist_externals = bash
[testenv:bindep]
deps = bindep
commands = bash -c "{toxinidir}/scripts/bindep-install"
[testenv:pep8]
basepython = python3
commands = flake8