X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=0e89eb84a58b0abacd9abc3a4b7c3bd16942e1ea;hb=HEAD;hp=f2f331f459884374ead4b66304f0ed059eedc8e8;hpb=b7bfcaea7b65922d63d72706ba01d5ab4820cf2a;p=iec.git diff --git a/tox.ini b/tox.ini index f2f331f..0e89eb8 100644 --- a/tox.ini +++ b/tox.ini @@ -8,9 +8,12 @@ [tox] minversion = 1.6 envlist = - docs, - docs-linkcheck + docs, + docs-linkcheck, + coala, skipsdist = true +passenv = TOX_WORK_DIR +toxworkdir = {env:TOX_WORK_DIR:/tmp/v} [testenv:docs] deps = -rdocs/requirements.txt @@ -22,3 +25,16 @@ whitelist_externals = echo [testenv:docs-linkcheck] deps = -rdocs/requirements.txt commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck + +[testenv:coala] +basepython = python3 +install_command = python -m pip install --no-cache-dir {opts} {packages} +whitelist_externals = rm +deps = + coala + coala-bears + pygments~=2.3.1 + requests~=2.21.0 +commands = + rm -rf src/use_cases/seba_on_arm/src_repo/ + coala --non-interactive