From bf342f8b5f11c497f06f30b858b87794263b0196 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Wed, 26 Feb 2014 14:50:11 +0100 Subject: [PATCH] Travis: Add travis_retry for rubygems operations As per http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/ and a recommendation from @travis-ci. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c191fa022..602aa88d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,13 +11,13 @@ before_script: - sudo update-alternatives --set ruby /usr/bin/ruby1.9.1 - sudo touch /etc/authbind/byport/53 - sudo chmod 755 /etc/authbind/byport/53 - - gem install bundler --no-rdoc --no-ri + - travis_retry gem install bundler --no-rdoc --no-ri - cd regression-tests - wget http://s3.amazonaws.com/alexa-static/top-1m.csv.zip - unzip top-1m.csv.zip - cd .. - cd modules/remotebackend - - ruby -S bundle install + - travis_retry ruby -S bundle install - cd ../.. script: - ./bootstrap -- 2.50.1