diff options
Diffstat (limited to 'bootstrap/vagrant-onap/tox.ini')
-rw-r--r-- | bootstrap/vagrant-onap/tox.ini | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bootstrap/vagrant-onap/tox.ini b/bootstrap/vagrant-onap/tox.ini index 02fccf58d..674810006 100644 --- a/bootstrap/vagrant-onap/tox.ini +++ b/bootstrap/vagrant-onap/tox.ini @@ -9,17 +9,20 @@ usedevelop = False install_command = pip install {opts} {packages} [testenv:bashate] -# if you want to test out some changes you have made to bashate -# against devstack, just set BASHATE_INSTALL_PATH=/path/... to your -# modified bashate tree deps = - {env:BASHATE_INSTALL_PATH:bashate==0.5.1} + {env:BASHATE_INSTALL_PATH:bashate} whitelist_externals = bash commands = bash -c "find {toxinidir}/{tests,lib,tools} \ -not \( -type d -path *files* -prune \) \ + -not \( -type f -name .*.swp* -prune \) \ + -not \( -type f -name *.ps1 -prune \) \ -type f \ # E005 file does not begin with #! or have a .sh prefix # E006 check for lines longer than 79 columns # E042 local declaration hides errors # E043 Arithmetic compound has inconsistent return semantics -print0 | xargs -0 bashate -v -iE006 -eE005,E042,E043" + +[testenv:docs] +deps = sphinx +commands = sphinx-build -W -b html doc/source doc/build/html |