Skip to content
Snippets Groups Projects
Commit 51efa46f authored by Xu Cheng's avatar Xu Cheng
Browse files

test-bot: enable coverage on travis

parent a6d2723e
No related branches found
No related tags found
No related merge requests found
......@@ -651,9 +651,13 @@ module Homebrew
if @tap
test "brew", "readall", @tap.name
else
test "brew", "tests", "--no-compat"
tests_args = ["--no-compat"]
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", "update-test"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment