From f4daf3bacc9a9494df7d641f572e92b662e2c08c Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 18 Dec 2019 09:16:49 +0200 Subject: [PATCH] travis: retry choco installs --- scripts/ci/before_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/before_install.sh b/scripts/ci/before_install.sh index bf5c9fa78..2240f9cd0 100644 --- a/scripts/ci/before_install.sh +++ b/scripts/ci/before_install.sh @@ -45,10 +45,10 @@ fi if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then if [[ -n "$PY2" ]]; then - choco install python2 + $scriptdir/retry.sh choco install python2 echo 'PATH="/c/Python27:/c/Python27/Scripts:$PATH"' >> env.sh else - choco install python --version 3.7.5 + $scriptdir/retry.sh choco install python --version 3.7.5 echo 'PATH="/c/Python37:/c/Python37/Scripts:$PATH"' >> env.sh fi elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then