Add linter verify jobs for 'demo' project
Extending test coverage in 'demo' project with
additional verification jobs.
Change-Id: I1d3845f4d031582e8af67b916b8c3a9f890aef47
Issue-ID: INT-1482
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
diff --git a/jjb/demo/demo.yaml b/jjb/demo/demo.yaml
index 5c4028e..305ca37 100644
--- a/jjb/demo/demo.yaml
+++ b/jjb/demo/demo.yaml
@@ -54,3 +54,31 @@
build-node: centos7-builder-2c-1g
project: demo
branch: master
+
+- project:
+ name: demo-linters
+ project: 'demo'
+ project-name: 'demo'
+ python-version: python3
+ jobs:
+ - '{project-name}-{stream}-{subproject}-lint'
+ subproject:
+ - 'yaml':
+ tox-dir: '.'
+ tox-envs: 'yaml'
+ pattern: '**/*.yaml'
+ - 'yml':
+ tox-dir: '.'
+ tox-envs: 'yaml'
+ pattern: '**/*.yml'
+ - 'json':
+ tox-dir: '.'
+ tox-envs: 'json'
+ pattern: '**/*.json'
+ - 'python':
+ tox-dir: '.'
+ tox-envs: 'py'
+ pattern: '**/*.py'
+ stream:
+ - 'master':
+ branch: 'master'