jenkins.sh: remove useless pip install calls

This commit is contained in:
Benjamin Dauvergne 2016-03-10 16:05:27 +01:00
parent f799826149
commit ab4cd8dcc5
2 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,7 @@ DSTDIR=`python -c 'from distutils.sysconfig import get_python_lib; print(get_pyt
# Get not venv site-packages path
# Remove first path (assuming that is the venv path)
NONPATH=`echo $PATH | sed 's/^[^:]*://'`
if ! python -c 'import magic' >/dev/null 2>&1; then
if ! /usr/bin/python -c 'import magic' >/dev/null 2>&1; then
echo magic package is not installed
exit 1
fi

View File

@ -5,9 +5,7 @@ set -e
rm -f coverage.xml
rm -f test_results.xml
pip install --upgrade 'pip<8'
pip install --upgrade tox
pip install -U 'virtualenv<14'
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