Retry bundle install

This commit is contained in:
Hiro Asari 2014-06-11 10:56:14 -04:00
parent db7828c2fe
commit 82a0a5c0a5

View File

@ -10,7 +10,7 @@ RUBY_RUNTIME=$(cat .ruby-version)
rvm install $RUBY_RUNTIME
# using JRuby, migrate the 'logs' table in 'travis_test' database
BUNDLE_GEMFILE=$PWD/Gemfile
rvm $RUBY_RUNTIME do bundle install
travis_retry rvm $RUBY_RUNTIME do bundle install
psql -c "CREATE DATABASE travis_logs_test;" -U postgres
cp $TRAVIS_BUILD_DIR/config/database.yml config/travis.yml
rvm $RUBY_RUNTIME do bundle exec rake db:migrate