jenkins: use pip -r to install dependencies

(setup.py develop fails, for whatever reason)
This commit is contained in:
Frédéric Péters 2016-07-15 14:48:28 +02:00
parent 053e0e1e1d
commit 2bc70ee04c
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ rm -f test_results.xml
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