This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2016-05-02 15:24:29 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
rm -f coverage.xml
|
|
|
|
rm -f test_results.xml
|
|
|
|
|
|
|
|
pip install --upgrade tox
|
|
|
|
pip install --upgrade pylint pylint-django
|
|
|
|
tox -r
|
2016-07-15 14:48:28 +02:00
|
|
|
pip install -r requirements.txt # install dependencies, for better pylint results
|
2016-05-02 15:24:29 +02:00
|
|
|
test -f pylint.out && cp pylint.out pylint.out.prev
|
|
|
|
(pylint -f parseable --rcfile /var/lib/jenkins/pylint.django.rc corbo/ | tee pylint.out) || /bin/true
|
|
|
|
test -f pylint.out.prev && (diff pylint.out.prev pylint.out | grep '^[><]' | grep .py) || /bin/true
|