diff options
| author | Mike McQuaid | 2016-05-28 21:42:30 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-05-28 21:42:30 +0100 |
| commit | adc293637f58993bb52792d664cc38bf865eeab4 (patch) | |
| tree | 57dcc7259fe934a70e370afd9ba4e3b572cc9e3e | |
| parent | 60cb841ddb5135aea977e294089ff4f56143a30e (diff) | |
| download | brew-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.rb | 6 |
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 = [] |
