aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
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