test-bot: don't brew tests for formula PRs. (#294)

This adds >1m to every build on every node and it can't actually be
affected/fixed by formula PRs.
This commit is contained in:
Mike McQuaid 2016-05-28 21:42:30 +01:00
parent 60cb841ddb
commit adc293637f

View File

@ -633,11 +633,11 @@ module Homebrew
return if @skip_homebrew return if @skip_homebrew
ruby_two = RUBY_VERSION.split(".").first.to_i >= 2 ruby_two = RUBY_VERSION.split(".").first.to_i >= 2
tests_args = []
tests_args << "--coverage" if ruby_two && ENV["TRAVIS"]
test "brew", "tests", *tests_args
if @tap.nil? if @tap.nil?
tests_args = []
tests_args << "--coverage" if ruby_two && ENV["TRAVIS"]
test "brew", "tests", *tests_args
test "brew", "tests", "--no-compat" test "brew", "tests", "--no-compat"
elsif @tap.core_tap? elsif @tap.core_tap?
readall_args = [] readall_args = []