Projet

Général

Profil

Télécharger (474 octets) Statistiques
| Branche: | Tag: | Révision:

root / jenkins.sh @ main

1
#!/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
pip install -r requirements.txt # install dependencies, for better pylint results
12
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
(5-5/9)