X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=tox.ini;h=c27b363546b989436b693f9be6c9025eff77cb99;hb=refs%2Fchanges%2F21%2F5821%2F2;hp=0f41803292e7cbd742e747d2a5f26942172d020a;hpb=a94198f2d19b1a76c6483c1b5293d5871aeb33d7;p=releng%2Fglobal-jjb.git diff --git a/tox.ini b/tox.ini index 0f418032..c27b3635 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.6 -envlist = coala,jjb +envlist = coala,jjb,license skipsdist = true [testenv:coala] @@ -8,7 +8,11 @@ basepython = python3 deps = coala coala-bears + # Markdown lint requires nodejs + nodeenv commands = + nodeenv -p + npm install --global remark-cli remark-lint write-good python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger coala --non-interactive @@ -22,3 +26,7 @@ commands = whitelist_externals = cp rm + +[testenv:license] +deps = lftools +commands = lftools license check-dir -r '.+' shell