Merge "Change from using chef to local config files"
[integration.git] / bootstrap / vagrant-onap / tox.ini
1 [tox]
2 minversion = 1.6
3 skipsdist = True
4 envlist = bashate
5
6 [testenv]
7 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
8 usedevelop = False
9 install_command = pip install {opts} {packages}
10
11 [testenv:bashate]
12 deps =
13    {env:BASHATE_INSTALL_PATH:bashate}
14 whitelist_externals = bash
15 commands = bash -c "find {toxinidir}/{tests,lib,tools}       \
16          -not \( -type d -path *files* -prune \)             \
17          -not \( -type f -name .*.swp* -prune \)             \
18          -not \( -type f -name *.ps1 -prune \)               \
19          -not \( -type f -name installed-software* -prune \) \
20          -not \( -type f -name *projects.txt -prune \)       \
21          -type f                                             \
22 # E005 file does not begin with #! or have a .sh prefix
23 # E006 check for lines longer than 79 columns
24 # E042 local declaration hides errors
25 # E043 Arithmetic compound has inconsistent return semantics
26          -print0 | xargs -0 bashate -v -iE006 -eE005,E042,E043"
27
28 [testenv:docs]
29 deps = sphinx
30 commands = sphinx-build -W -b html doc/source doc/build/html