From 7d89059b17cab3a34ec0e2018540e48f9849092d Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Mon, 20 May 2019 21:24:36 +0200 Subject: [PATCH] Work on better CI integration. --- .travis.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 519b83b..26e210d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,16 +71,11 @@ script: if [ "${GHC_COVERAGE}" = "1" ]; then cmake --build . --config ${CONFIG} --target filesystem_test test/filesystem_test + lcov --compat-libtool --directory . --capture --output-file coverage_output.info + lcov --remove coverage_output.info '/usr/*' '*/c++/*' '*.h' '*/catch.hpp' -o coverage.info + coveralls-lcov coverage.info else cmake --build . --config ${CONFIG} ctest -C ${CONFIG} -E Windows fi -after_success: - - | - if [ "${GHC_COVERAGE}" = "1" ]; then - lcov --compat-libtool --directory . --capture --output-file coverage_output.info - lcov --remove coverage_output.info '/usr/*' '*/c++/*' '*/catch.hpp' -o coverage.info - coveralls-lcov coverage.info - fi -