From df07c7e88cd8a6983449acdafe9431a3540c9187 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 25 Dec 2016 14:53:13 +0100 Subject: travis: Factor out coverage reporting --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 4b57b71..5559acd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,5 +94,4 @@ script: - if [ "$BUILD_TYPE" == "Coverage" ]; then cmake --build . --target coverage; fi after_success: - - if [ "$BUILD_TYPE" == "Coverage" ]; then sed -i'' -e "s_$(cd .. && pwd)/__g" coverage.info.cleaned; fi - - if [ "$BUILD_TYPE" == "Coverage" ]; then cd .. && coveralls-lcov --repo-token ${COVERALLS_API_TOKEN} build/coverage.info.cleaned; fi + - if [ "$BUILD_TYPE" == "Coverage" ]; then ../.travis/report-coverage.sh; fi -- cgit v1.2.3