diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 6a38c98a38..10a3c3087c 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -277,6 +277,7 @@ class Test install_args = '--verbose' install_args << ' --build-bottle' unless ARGV.include? '--no-bottle' install_args << ' --HEAD' if ARGV.include? '--HEAD' + test "brew install --only-dependencies #{formula}" unless dependencies.empty? test "brew install #{install_args} #{formula}" install_passed = steps.last.passed? test "brew audit #{formula}"