25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Try to fix coveralls report in Travis, related to commit 2f3f6f8b7

This commit is contained in:
Badlop 2021-02-03 01:52:24 +01:00
parent 1c3a7b7c96
commit a51e777c56

View File

@ -341,13 +341,13 @@ end,
TravisPostHooks =
fun(true) ->
[{eunit, "echo '\n%%! -pa .eunit/ deps/coveralls/ebin\n" ++
[{ct, "echo '\n%%! -pa ebin/ deps/coveralls/ebin\n" ++
"main(_)->{ok,F}=file:open(\"erlang.json\",[write])," ++
"io:fwrite(F,\"~s\",[coveralls:convert_file(" ++
"\".eunit/cover.coverdata\", \"" ++
"\"logs/all.coverdata\", \"" ++
os:getenv("TRAVIS_JOB_ID") ++
"\", \"travis-ci\",\"\")]).' > getcover.erl"},
{eunit, "escript ./getcover.erl"}];
{ct, "escript ./getcover.erl"}];
(_) ->
[]
end,