X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=3fd449bfab4441f66dd4441b7fc5b4e846081422;hb=252564ee4c1de16b1f9702f887b76b367c268c92;hp=0dc233f8fd801fbb8358eee8fe2f2b9e61cfe137;hpb=4396c5c7c01b0d51535c6031a53e4c9b70957aec;p=releng%2Fbuilder.git diff --git a/tox.ini b/tox.ini index 0dc233f8f..3fd449bfa 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.6 -envlist = coala,docs,pep8 +envlist = coala,docs,pep8,prefix,robot skipsdist = true [testenv:coala] @@ -18,9 +18,25 @@ commands = coala --non-interactive [testenv:docs] -deps = sphinx +deps = -rdocs/requirements.txt commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html +[testenv:jenkins-jobs] +deps = + jenkins-job-builder=={env:JJB_VERSION:2.2.1} +commands = + jenkins-jobs {posargs:--help} + +[testenv:jjb-version] +commands = python {toxinidir}/check_jjb_version.py + [testenv:pep8] deps = flake8 -commands = flake8 scripts/ +commands = flake8 scripts/ *.py + +[testenv:prefix] +commands = python {toxinidir}/check_prefix.py + +[testenv:robot] +basepython = python3 +commands = python {toxinidir}/check_robot.py