From adc293637f58993bb52792d664cc38bf865eeab4 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 28 May 2016 21:42:30 +0100 Subject: [PATCH] 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. --- Library/Homebrew/cmd/test-bot.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index 2480b99fe9..3b1e410e01 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 = []