diff options
| author | Mike McQuaid | 2014-03-01 12:28:54 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-01 16:45:31 +0000 |
| commit | cdea2aa0eee35c8b547f1d1f50461484fb3a38e8 (patch) | |
| tree | ef6a6ac4386561decfdc9eb3fe2bf62f55051662 /Library | |
| parent | e695642df0c555f1d4881bf36db57ddc7a6bd2e5 (diff) | |
| download | homebrew-cdea2aa0eee35c8b547f1d1f50461484fb3a38e8.tar.bz2 | |
brew-test-bot: use fetch --retry.
Closes #27110.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index d0d6ac497..c55c55b0a 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -275,11 +275,11 @@ class Test test "brew install apple-gcc42" end - test "brew fetch #{dependencies}" unless dependencies.empty? + test "brew fetch --retry #{dependencies}" unless dependencies.empty? formula_fetch_options = " " formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle' formula_fetch_options << " --force" if ARGV.include? '--cleanup' - test "brew fetch#{formula_fetch_options} #{formula}" + test "brew fetch --retry#{formula_fetch_options} #{formula}" test "brew uninstall --force #{formula}" if formula_object.installed? install_args = '--verbose' install_args << ' --build-bottle' unless ARGV.include? '--no-bottle' @@ -303,7 +303,7 @@ class Test test "brew uninstall --force #{formula}" end if formula_object.devel and not ARGV.include? '--HEAD' - test "brew fetch --devel#{formula_fetch_options} #{formula}" + test "brew fetch --retry --devel#{formula_fetch_options} #{formula}" test "brew install --devel --verbose #{formula}" devel_install_passed = steps.last.passed? test "brew audit --devel #{formula}" |
