diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2018-11-24 16:16:43 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-11-25 06:16:43 +0800 |
commit | b318e3719caa98523ea0020c9997171abb85dff4 (patch) | |
tree | d6cdd65f267c27ff276bc43590fdd90ffd9968ae /.travis | |
parent | 8f3d259bd8b02e1d33fe1dd98ecfc173cee24516 (diff) | |
download | cryptography-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.sh | 2 |
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 |