diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb index d2c5b317b5..548c973a36 100644 --- a/Library/Homebrew/dev-cmd/test-bot.rb +++ b/Library/Homebrew/dev-cmd/test-bot.rb @@ -659,14 +659,15 @@ module Homebrew if @tap.nil? tests_args = [] + tests_args_coverage = [] if RUBY_TWO tests_args << "--official-cmd-taps" - tests_args << "--coverage" if ENV["TRAVIS"] + tests_args_coverage << "--coverage" if ENV["TRAVIS"] end test "brew", "tests", *tests_args test "brew", "tests", "--generic", "--only=integration_cmds", *tests_args - test "brew", "tests", "--no-compat" + test "brew", "tests", "--no-compat", *tests_args_coverage test "brew", "readall", "--syntax" # test update from origin/master to current commit. test "brew", "update-test"