Commit 4bc58f60 authored by Noah Zoschke's avatar Noah Zoschke

turn off immediate exit on error to allow displaying error reason

parent 9ca6ff8b
...@@ -71,12 +71,14 @@ fi ...@@ -71,12 +71,14 @@ fi
echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')" echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')"
PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install --use-mirrors -r requirements.txt | sed -u 's/^/ /' PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install --use-mirrors -r requirements.txt | sed -u 's/^/ /'
set +e
OUT=$(virtualenv --relocatable .) OUT=$(virtualenv --relocatable .)
[ $? -ne 0 ] && { [ $? -ne 0 ] && {
echo " ! Error making virtualenv relocatable" echo " ! Error making virtualenv relocatable"
echo "$OUT" | sed -u 's/^/ /' echo "$OUT" | sed -u 's/^/ /'
exit 1 exit 1
} }
set -e
# store new artifacts in cache # store new artifacts in cache
for dir in $VIRTUALENV_DIRS; do for dir in $VIRTUALENV_DIRS; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment