brew-test-bot: use install_args for building deps.

This commit is contained in:
Mike McQuaid 2014-03-13 10:31:22 +00:00
parent ca0133cf5b
commit a6b46347a1

View File

@ -284,7 +284,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 --only-dependencies #{install_args} #{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}"