Update JJB version to 2.9.1
[releng/builder.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index ad3eb318862cd1cc2fe2b1778348254eac2b07cd..08272e8ab99e64af128325393fbc0eb94b8ab6dc 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -21,13 +21,22 @@ commands =
 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.9.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 = ./check_prefix.sh
+commands = python {toxinidir}/check_prefix.py
 
 [testenv:robot]
-commands = ./check_robot.sh
-
+basepython = python3
+commands = python {toxinidir}/check_robot.py