tox.ini
0c256abd
 [tox]
 minversion = 1.6
 skipsdist = True
 envlist = bashate
 
 [testenv]
 usedevelop = False
 install_command = pip install {opts} {packages}
 
 [testenv:bashate]
d9422b83
 deps =
    {env:BASHATE_INSTALL_PATH:bashate==0.3.1}
0c256abd
 whitelist_externals = bash
31127a2a
 commands = bash -c "find {toxinidir}             \
d9422b83
          -not \( -type d -name .?\* -prune \)    \
          -not \( -type d -name doc -prune \)     \
          -not \( -type d -name shocco -prune \)  \
          -type f                                 \
          -not -name \*~                          \
31127a2a
          -not -name \*.md                        \
          \(                                      \
           -name \*.sh -or                        \
d9422b83
           -name \*.orig -or                      \
31127a2a
           -name \*rc -or                         \
           -name functions\* -or                  \
d9422b83
           -wholename \*/inc/\* -or               \
           -wholename \*/lib/\*                   \
          \)                                      \
          -print0 | xargs -0 bashate -v -iE006"
81fa6c7b
 
 [testenv:docs]
ebb983d3
 deps =
    Pygments
    docutils
09e550c3
    sphinx>=1.1.2,<1.2
    pbr>=0.6,!=0.7,<1.0
    oslosphinx
02ae50dc
    nwdiag
    blockdiag
    sphinxcontrib-blockdiag
    sphinxcontrib-nwdiag
ebb983d3
 whitelist_externals = bash
 setenv =
   TOP_DIR={toxinidir}
   INSTALL_SHOCCO=true
09e550c3
 commands = 
 	python setup.py build_sphinx
b3fdb1c9
 	bash tools/build_docs.sh