Add 3 retries when the installation fails for lint test
Change-Id: I9ae31a3934d10eb37509f9889381377cef94df0a
This commit is contained in:
parent
9916f3eef4
commit
8e9c4794ce
@ -20,7 +20,7 @@
|
||||
export GEM_HOME=`pwd`/.bundled_gems
|
||||
if [ -f Gemfile ]; then
|
||||
gem install bundler --no-rdoc --no-ri --verbose
|
||||
$GEM_HOME/bin/bundle install --without system_tests
|
||||
$GEM_HOME/bin/bundle install --without system_tests --retry 3
|
||||
$GEM_HOME/bin/bundle exec rake lint 2>&1
|
||||
else
|
||||
gem install rake -n ./.bundled_gems/
|
||||
|
Loading…
Reference in New Issue
Block a user