aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-05-28 21:42:30 +0100
committerMike McQuaid2016-05-28 21:42:30 +0100
commitadc293637f58993bb52792d664cc38bf865eeab4 (patch)
tree57dcc7259fe934a70e370afd9ba4e3b572cc9e3e
parent60cb841ddb5135aea977e294089ff4f56143a30e (diff)
downloadbrew-adc293637f58993bb52792d664cc38bf865eeab4.tar.bz2
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.
-rw-r--r--Library/Homebrew/cmd/test-bot.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 2480b99fe..3b1e410e0 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -633,11 +633,11 @@ module Homebrew
return if @skip_homebrew
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?
+ tests_args = []
+ tests_args << "--coverage" if ruby_two && ENV["TRAVIS"]
+ test "brew", "tests", *tests_args
test "brew", "tests", "--no-compat"
elsif @tap.core_tap?
readall_args = []