jenkins.sh: remove useless pip install calls
This commit is contained in:
parent
f799826149
commit
ab4cd8dcc5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue