Merge branch 'master' into dev

This commit is contained in:
2018-12-24 21:22:07 +07:00
2 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
ignore:
- catch.hpp
- catch_main.hpp
- "catch.hpp"
- "catch_main.hpp"
- "*_tests.cpp"

View File

@@ -4,14 +4,14 @@ set -e
BUILD_DIR=`dirname "$BASH_SOURCE"`/../build
mkdir -p $BUILD_DIR/coverage
cd $BUILD_DIR/coverage
cmake -DCMAKE_BUILD_TYPE=Debug -DECS_BUILD_WITH_COVERAGE=ON ../..
cmake -DCMAKE_BUILD_TYPE=Debug -DINVOKE_BUILD_WITH_COVERAGE=ON ../..
cmake --build . -- -j8
lcov -d . -z
ctest --verbose
lcov -d . -c -o "coverage.info"
lcov -r "coverage.info" "*/usr/*" "*/catch.hpp" "*/catch_main.cpp" -o "coverage.info"
lcov -r "coverage.info" "*/usr/*" "*/catch.hpp" "*/catch_main.cpp" "*_tests.cpp" -o "coverage.info"
lcov -l "coverage.info"
bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"