-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpeteris.yaml
More file actions
36 lines (36 loc) · 1.07 KB
/
peteris.yaml
File metadata and controls
36 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
- job:
name: mikoto-pylint
description: 'mikoto TEST!'
scm:
- git:
branches:
- master
skip-tag: True
url: http://code.dapps.douban.com/qingfeng/mikoto.git
triggers:
- pollscm: '* * * * *'
builders:
- shell: |
rm -rf VENV
virtualenv VENV || true
source VENV/bin/activate
pip install -i http://pypim.dapps.douban.com/simple pylint
pip install -e git+http://code.dapps.douban.com/qingfeng/misaka.git@master#egg=misaka
python setup.py install
hash -r
rm -rf pylint.out
pylint -E pidl > pylint.out
deactivate
- shell: |
source VENV/bin/activate
pip install -i http://pypim.dapps.douban.com/simple pytest
py.test --junitxml=unittst.xml tests
deactivate
publishers:
- junit:
results: unittst.xml
- violations:
pylint:
pattern: pylint.cut
- email:
recipients: qingfeng@dcuban.com