Project

General

Profile

Download (474 Bytes) Statistics
| Branch: | Tag: | Revision:

root / jenkins.sh @ 71e7c190

1 e93ea142 Serghei Mihai
#!/bin/sh
2
3
set -e
4
5
rm -f coverage.xml
6
rm -f test_results.xml
7
8
pip install --upgrade tox
9
pip install --upgrade pylint pylint-django
10
tox -r
11 2bc70ee0 Frédéric Péters
pip install -r requirements.txt # install dependencies, for better pylint results
12 e93ea142 Serghei Mihai
test -f pylint.out && cp pylint.out pylint.out.prev
13
(pylint -f parseable --rcfile /var/lib/jenkins/pylint.django.rc corbo/ | tee pylint.out) || /bin/true
14
test -f pylint.out.prev && (diff pylint.out.prev pylint.out | grep '^[><]' | grep .py) || /bin/true