aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-11-24 16:16:43 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-11-25 06:16:43 +0800
commitb318e3719caa98523ea0020c9997171abb85dff4 (patch)
treed6cdd65f267c27ff276bc43590fdd90ffd9968ae /.travis
parent8f3d259bd8b02e1d33fe1dd98ecfc173cee24516 (diff)
downloadcryptography-b318e3719caa98523ea0020c9997171abb85dff4.tar.gz
cryptography-b318e3719caa98523ea0020c9997171abb85dff4.tar.bz2
cryptography-b318e3719caa98523ea0020c9997171abb85dff4.zip
Add a retry on docker pull to be more resilient to intermittent failures (#4609)
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index def7343b..a4bc3c97 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -51,7 +51,7 @@ if [ -n "${DOCKER}" ]; then
echo "OPENSSL and LIBRESSL are not allowed when DOCKER is set."
exit 1
fi
- docker pull "$DOCKER"
+ docker pull "$DOCKER" || docker pull "$DOCKER" || docker pull "$DOCKER"
fi
if [ -z "${DOWNSTREAM}" ]; then