From aaaca8b3215b5aa2ec38dd07384c54c6693bc703 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Fri, 9 Nov 2018 21:10:24 +0100 Subject: [PATCH] Create coverage report during build --- travis/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis/build.sh b/travis/build.sh index 23f8f2d..64c6eb2 100755 --- a/travis/build.sh +++ b/travis/build.sh @@ -39,8 +39,8 @@ cmake "$REPO_ROOT" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo make -j$(nproc) -## Run Unit Tests -ctest -V +# run unit tests and generate coverage report +make -j$(nproc) coverage_text # args are used more than once LINUXDEPLOY_ARGS=("--appdir" "AppDir" "-e" "bin/linuxdeploy" "-i" "$REPO_ROOT/resources/linuxdeploy.png" "--create-desktop-file" "-e" "/usr/bin/patchelf" "-e" "/usr/bin/strip")