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 = []