Do not fail the build if no pip3

This commit is contained in:
Cyryl Płotnicki 2016-11-03 21:58:39 +01:00
parent d0660e84a7
commit 9d9431f6e2

View file

@ -174,7 +174,9 @@ echo "Installing fancy differ"
$SUDO npm install -g diff-so-fancy
if [[ -z $NOPYTHON3 ]]; then
set +e
pip3_path=`which pip3`
set -e
echo "pip3 path is $pip3_path"
if [[ -x "$pip3_path" ]]; then
echo "Choosing pip3 for pip"