test-bot: enable coverage on travis

This commit is contained in:
Xu Cheng 2015-12-20 01:02:53 +08:00
parent a6d2723ef5
commit 51efa46fcc

View File

@ -651,9 +651,13 @@ module Homebrew
if @tap if @tap
test "brew", "readall", @tap.name test "brew", "readall", @tap.name
else else
test "brew", "tests", "--no-compat" tests_args = ["--no-compat"]
readall_args = ["--aliases"] readall_args = ["--aliases"]
readall_args << "--syntax" if RUBY_VERSION.split(".").first.to_i >= 2 if RUBY_VERSION.split(".").first.to_i >= 2
tests_args << "--coverage" if ENV["TRAVIS"]
readall_args << "--syntax"
end
test "brew", "tests", *tests_args
test "brew", "readall", *readall_args test "brew", "readall", *readall_args
test "brew", "update-test" test "brew", "update-test"
end end