From f81a4fd1fc4624fa3f0ad0c4a09a84d28b6ce708 Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Wed, 13 Apr 2016 00:56:31 -0400 Subject: [PATCH] travis: manually do codecov generation after transforming to relative paths --- .travis.yml | 5 ++++- tests/.luacov | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b8dc78..93e38cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,10 @@ script: - make LUA_BIN=lua LUNIT_BIN=lunit.sh LUA_INIT="require('luarocks.loader');require('luacov')" check after_success: - - cd tests; bash <(curl -s https://codecov.io/bash) + # Rework the stats file and generate + - sed -e "s|../lua/|lua/|" < tests/luacov.stats.out > luacov.stats.out + - luacov + - bash <(curl -s https://codecov.io/bash) notifications: email: diff --git a/tests/.luacov b/tests/.luacov index ef95a1d..c89b603 100644 --- a/tests/.luacov +++ b/tests/.luacov @@ -15,7 +15,7 @@ return { reportfile = "luacov.report.json", -- Run reporter on completion? (won't work for ticks) - runreport = true, + runreport = false, -- Delete stats file after reporting? deletestats = false, -- 2.11.4.GIT