13 lines
354 B
Bash
Executable File
13 lines
354 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
rm -f coverage.xml
|
|
rm -f test_results.xml
|
|
|
|
pip install --upgrade tox
|
|
tox -r
|
|
test -f pylint.out && cp pylint.out pylint.out.prev
|
|
(pylint -f parseable --rcfile /var/lib/jenkins/pylint.django.rc passerelle/ | tee pylint.out) || /bin/true
|
|
test -f pylint.out.prev && (diff pylint.out.prev pylint.out | grep '^[><]' | grep .py) || /bin/true
|