From 991d525f7ddb4e5918edc9e18691a71c596d3a1a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 14 Feb 2019 18:46:01 +0100 Subject: [PATCH] ci: codecov: improve flags/env (#2651) --- .travis.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d4bf2a389..26c3052f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -116,9 +116,7 @@ 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 - # Set env variable for codecov. - TESTS="$1" - travis_retry bash /tmp/codecov-bash -f build/luacov.report.out -X gcov -X coveragepy -e LUANAME,TESTS || return 1 + travis_retry bash /tmp/codecov-bash -f build/luacov.report.out -X gcov -X coveragepy -F luacov -e LUANAME,LGIVER || return 1 rm build/luacov.report.out build/luacov.stats.out fi return 0 @@ -147,9 +145,7 @@ install: done # Upload to Codecov. - # Set env variable for codecov. - TESTS="$1" - travis_retry bash /tmp/codecov-bash -X gcov -X coveragepy -e LUANAME,TESTS + travis_retry bash /tmp/codecov-bash -X gcov -X coveragepy -F gcov -e LUANAME,LGIVER ) fi return 0