]> granicus.if.org Git - pdns/commitdiff
Travis: Add travis_retry for rubygems operations
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Wed, 26 Feb 2014 13:50:11 +0000 (14:50 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Wed, 26 Feb 2014 13:50:11 +0000 (14:50 +0100)
As per http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/
and a recommendation from @travis-ci.

.travis.yml

index c191fa0222637d6d78f95522639b6a7cc0024dc2..602aa88d404eb79d951a0ffe9802dac86895465c 100644 (file)
@@ -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