test-bot: fix args, tap before official-cmd-taps.

This commit is contained in:
Mike McQuaid 2016-07-04 17:08:17 +01:00
parent bf42959609
commit 245441e1e8

View File

@ -654,12 +654,14 @@ module Homebrew
ruby_two = RUBY_VERSION.split(".").first.to_i >= 2 ruby_two = RUBY_VERSION.split(".").first.to_i >= 2
if @tap.nil? if @tap.nil?
tests_args = [] test "brew", "tap", "caskroom/cask"
test "brew", "tap", "homebrew/bundle"
test "brew", "tap", "homebrew/services"
tests_args = ["--official-cmd-taps"]
tests_args << "--coverage" if ruby_two && ENV["TRAVIS"] tests_args << "--coverage" if ruby_two && ENV["TRAVIS"]
test "brew", "tests", *tests_args test "brew", "tests", *tests_args
test "brew", "tests", "--no-compat" test "brew", "tests", "--no-compat"
test "brew", "readall", "--syntax" test "brew", "readall", "--syntax"
test "brew", "tests", "--official-cmd-taps"
else else
test "brew", "readall", "--aliases", @tap.name test "brew", "readall", "--aliases", @tap.name
end end