X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=1429352c31009a9eaae7fb8f93b98685d19800db;hb=fafc613b71acb996cd3340e42e401ce8382491a6;hp=f00fdcc21e6ac08ee6978cb52ecbffddd79f750e;hpb=61a05c82fbdcd33620a0e7756f75c8bb9d66e765;p=releng%2Fbuilder.git diff --git a/tox.ini b/tox.ini index f00fdcc21..1429352c3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,22 @@ [tox] minversion = 1.6 -envlist = docs,pep8 +envlist = coala,docs,pep8,robot skipsdist = true +[testenv:coala] +basepython = python3 +deps = + coala==0.11 + coala-bears==0.11 + # Requests 2.16 breaks dependencies + requests<2.16 + nodeenv==1.1.2 +commands = + nodeenv -p + npm install --global write-good + python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger + coala --non-interactive + [testenv:docs] deps = sphinx commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html @@ -11,3 +25,9 @@ commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs deps = flake8 commands = flake8 scripts/ +[testenv:prefix] +commands = ./check_prefix.sh + +[testenv:robot] +commands = ./check_robot.sh +