test-bot: don't test official commands on ruby 1.8.
This commit is contained in:
parent
26dcc9786d
commit
8bb315620e
@ -654,11 +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?
|
||||||
test "brew", "tap", "caskroom/cask"
|
tests_args = []
|
||||||
test "brew", "tap", "homebrew/bundle"
|
if ruby_two
|
||||||
test "brew", "tap", "homebrew/services"
|
test "brew", "tap", "caskroom/cask"
|
||||||
tests_args = ["--official-cmd-taps"]
|
test "brew", "tap", "homebrew/bundle"
|
||||||
tests_args << "--coverage" if ruby_two && ENV["TRAVIS"]
|
test "brew", "tap", "homebrew/services"
|
||||||
|
tests_args << "--official-cmd-taps"
|
||||||
|
tests_args << "--coverage" if ENV["TRAVIS"]
|
||||||
|
end
|
||||||
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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user