Revision 2bc70ee0
Added by Frédéric Péters over 9 years ago
| jenkins.sh | ||
|---|---|---|
|
pip install --upgrade tox
|
||
|
pip install --upgrade pylint pylint-django
|
||
|
tox -r
|
||
|
python setup.py develop
|
||
|
pip install -r requirements.txt # install dependencies, for better pylint results
|
||
|
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
|
||
Also available in: Unified diff
jenkins: use pip -r to install dependencies
(setup.py develop fails, for whatever reason)