diff --git a/.luacov b/.luacov index ce1a0eeba..db23d4cc3 100644 --- a/.luacov +++ b/.luacov @@ -10,6 +10,7 @@ end return { statsfile = build .. "/luacov.stats.out", + reportfile = build .. "/luacov.report.out", include = { escape_pattern(source) .. "/.+", diff --git a/.travis.yml b/.travis.yml index de5fe9d92..e86da2f17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -116,8 +116,8 @@ install: if [ "$DO_COVERAGE" = "codecov" ]; then test -f build/luacov.stats.out || { echo 'build/luacov.stats.out does not exist.'; return 1; } luacov || return 1 - travis_retry bash /tmp/codecov-bash -X gcov -X coveragepy -c -F "$1,${LUANAME//./}" || return 1 - rm build/luacov.stats.out + travis_retry bash /tmp/codecov-bash -f build/luacov.report.out -X gcov -X coveragepy -F "$1,${LUANAME//./}" || return 1 + rm build/luacov.report.out build/luacov.stats.out fi return 0 }