brew-test-bot: use install --only-dependencies.

This commit is contained in:
Mike McQuaid 2013-12-19 23:03:03 +00:00
parent 76a45df325
commit f853ec7365

View File

@ -277,6 +277,7 @@ class Test
install_args = '--verbose' install_args = '--verbose'
install_args << ' --build-bottle' unless ARGV.include? '--no-bottle' install_args << ' --build-bottle' unless ARGV.include? '--no-bottle'
install_args << ' --HEAD' if ARGV.include? '--HEAD' install_args << ' --HEAD' if ARGV.include? '--HEAD'
test "brew install --only-dependencies #{formula}" unless dependencies.empty?
test "brew install #{install_args} #{formula}" test "brew install #{install_args} #{formula}"
install_passed = steps.last.passed? install_passed = steps.last.passed?
test "brew audit #{formula}" test "brew audit #{formula}"