do_codecov: from source dir to handle relative spec/ paths

This commit is contained in:
Daniel Hahler 2017-01-05 14:05:03 +01:00
parent ec9a981dd7
commit 0863e52c1d
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ install:
echo "== do_codecov in $PWD: $*: build/luacov.stats.out: ==" echo "== do_codecov in $PWD: $*: build/luacov.stats.out: =="
if [ "$DO_COVERAGE" = "codecov" ]; then if [ "$DO_COVERAGE" = "codecov" ]; then
cat build/luacov.stats.out cat build/luacov.stats.out
(cd build && luacov) || return 1 luacov || return 1
travis_retry bash /tmp/codecov-bash -X coveragepy -c -F "$1" || return 1 travis_retry bash /tmp/codecov-bash -X coveragepy -c -F "$1" || return 1
rm build/luacov.stats.out rm build/luacov.stats.out
fi fi