Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Allow any project/branch to deploy jjb jobs"
[releng/global-jjb.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
c4fc24c
..
25f28e8
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-1,6
+1,6
@@
[tox]
minversion = 1.6
[tox]
minversion = 1.6
-envlist = coala,jjb
+envlist = coala,jjb
,jjb-compare-xml,license
skipsdist = true
[testenv:coala]
skipsdist = true
[testenv:coala]
@@
-9,20
+9,34
@@
deps =
coala
coala-bears
# Markdown lint requires nodejs
coala
coala-bears
# Markdown lint requires nodejs
- nodeenv
+ nodeenv
==1.1.2
commands =
nodeenv -p
commands =
nodeenv -p
- npm install --global remark-cli remark-lint
+ npm install --global remark-cli remark-lint
write-good
python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
coala --non-interactive
python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
coala --non-interactive
+[testenv:docs]
+deps = -rrequirements.txt
+commands =
+ sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+
+[testenv:ensure-documented]
+commands =
+ ./ensure-documented.sh
+
[testenv:jjb]
[testenv:jjb]
+deps =
+ jenkins-job-builder>=2.0.5
+commands =
+ jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test
+
+[testenv:jjb-compare-xml]
deps =
jenkins-job-builder
commands =
deps =
jenkins-job-builder
commands =
- cp test.template {toxinidir}/jjb/test.yaml
- jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb/
- rm {toxinidir}/jjb/test.yaml
-whitelist_externals =
- cp
- rm
+ ./jjb-compare-xml.sh
+
+[testenv:license]
+deps = lftools
+commands = lftools license check-dir -r '.+' shell