aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-03-28 09:43:32 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-03-28 09:43:32 -0400
commit9c8c9eea40cb5ef0c3bf825875e6945b92c01504 (patch)
tree58b05766a2c3361dca1ab09d3cd31f4debc1fede /.travis
parentb4b6256a1f48c0bedefcf8263efd2baf7e92c92c (diff)
downloadcryptography-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.sh3
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