test-bot: tweak readall behaviour. (#300)
Check the syntax for Homebrew/brew and don't bother for taps.
This commit is contained in:
parent
d20c1ed146
commit
12da7d740d
@ -639,12 +639,9 @@ module Homebrew
|
|||||||
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"
|
||||||
elsif @tap.core_tap?
|
test "brew", "readall", "--syntax"
|
||||||
readall_args = []
|
|
||||||
readall_args << "--syntax" if ruby_two
|
|
||||||
test "brew", "readall", "--aliases", *readall_args
|
|
||||||
else
|
else
|
||||||
test "brew", "readall", @tap.name
|
test "brew", "readall", "--aliases", @tap.name
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user