Fail quickly if dependencies fail to install.

The chocolatey package manager seems to semi-frequently have 503 errors.  Ideally there's a way to cache these packages on Windows rather than re-downloading them every time.
This commit is contained in:
pentarctagon 2020-01-03 08:55:41 -06:00 committed by Pentarctagon
parent ce4fb82173
commit 392f84afff

View file

@ -38,6 +38,12 @@ elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
mv external-VC15 external
cd $start
export PATH="/c/Python36:"$PATH":/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin/amd64:$start/../external/dll"
if [ "$(which python3)" == "" ] || [ ! -d "../external" ]; then
echo "Failed to retrieve dependencies!"
exit 1
else
echo "Dependencies retrieved and installed!"
fi
else
if [ "$NLS" != "true" ]; then
echo "po/" >> .dockerignore