diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-28 09:43:32 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-28 09:43:32 -0400 |
commit | 9c8c9eea40cb5ef0c3bf825875e6945b92c01504 (patch) | |
tree | 58b05766a2c3361dca1ab09d3cd31f4debc1fede /.travis | |
parent | b4b6256a1f48c0bedefcf8263efd2baf7e92c92c (diff) | |
download | cryptography-9c8c9eea40cb5ef0c3bf825875e6945b92c01504.tar.gz cryptography-9c8c9eea40cb5ef0c3bf825875e6945b92c01504.tar.bz2 cryptography-9c8c9eea40cb5ef0c3bf825875e6945b92c01504.zip |
Retry apt-get update on failure -- rabbitmq's servers are failing a bunch
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis/install.sh b/.travis/install.sh index d42944d7..18deb8e9 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -67,7 +67,8 @@ else sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ lucid main" fi - sudo apt-get -y update + # Retry `update` on failure, some of the servers aren't super reliable. + sudo apt-get -y update || sudo apt-get -y update if [[ "${OPENSSL}" == "0.9.8" ]]; then sudo apt-get install -y --force-yes libssl-dev/lucid |