X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=validation.git;a=blobdiff_plain;f=tox.ini;h=a1cdcebf29ed007129538dce7da80bd9965082e2;hp=64c14864c06317af096e908071f0d0438583f56c;hb=c5ad3fa5dcff60eb9108ed303806ff28b31a9c09;hpb=e8d760fe817577deae92c372b877507adc100a5f diff --git a/tox.ini b/tox.ini index 64c1486..a1cdceb 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,11 @@ commands = [testenv:coala] basepython = python3 +whitelist_externals = + wget + unzip + bash + passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY install_command = python -m pip install --no-cache-dir {opts} {packages} deps = @@ -24,5 +29,7 @@ deps = nodeenv commands = nodeenv -p - npm install --global write-good - coala --non-interactive + npm install --global write-good eslint complexity-report@2.0.0-alpha + wget --timeout=120 -q https://github.com/pmd/pmd/releases/download/pmd_releases/6.15.0/pmd-bin-6.15.0.zip + unzip -q pmd-bin-6.15.0.zip + bash -c "export PATH=$PATH:$PWD/pmd-bin-6.15.0/bin/ && coala --non-interactive" \ No newline at end of file