Travis: codecov: use LUANAME as a flag (#2085)
This commit is contained in:
parent
a5e00347e1
commit
eb5cab5cfe
|
@ -125,7 +125,7 @@ install:
|
||||||
if [ "$DO_COVERAGE" = "codecov" ]; then
|
if [ "$DO_COVERAGE" = "codecov" ]; then
|
||||||
test -f build/luacov.stats.out || { echo 'build/luacov.stats.out does not exist.'; return 1; }
|
test -f build/luacov.stats.out || { echo 'build/luacov.stats.out does not exist.'; return 1; }
|
||||||
luacov || return 1
|
luacov || return 1
|
||||||
travis_retry bash /tmp/codecov-bash -X gcov -X coveragepy -c -F "$1" || return 1
|
travis_retry bash /tmp/codecov-bash -X gcov -X coveragepy -c -F "$1,${LUANAME//./}" || return 1
|
||||||
rm build/luacov.stats.out
|
rm build/luacov.stats.out
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue