Merge pull request #20 from mrozigor/covverage-exclude-3rdparty

Exclude 3rd party libraries from coverage report.
This commit is contained in:
Igor Mróz 2020-10-19 10:48:33 +02:00 committed by GitHub
commit 36561cecf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -52,6 +52,6 @@ script: make -j2 && ctest -V -j2
after_success:
- cd ..
- if [ "$PUSH_COVERAGE" == "ON" ]; then coveralls -i include --gcov-options '\-lp'; fi
- if [ "$PUSH_COVERAGE" == "ON" ]; then coveralls -i include --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --gcov-options '\-lp'; fi
- chmod +x generateDocumentationAndDeploy.sh
- test "$TRAVIS_BRANCH" = "master" && test $TRAVIS_PULL_REQUEST = "false" && test "$TRAVIS_BUILD_DOCS" = "ON" && ./generateDocumentationAndDeploy.sh

View File

@ -880,8 +880,8 @@ RECURSIVE = YES
# Note that relative paths are relative to the directory from which doxygen is
# run.
EXCLUDE = include/crow/http_parser_merged.h \
include/crow/TinySHA1.hpp
EXCLUDE = $(TRAVIS_BUILD_DIR)/include/crow/http_parser_merged.h \
$(TRAVIS_BUILD_DIR)/include/crow/TinySHA1.hpp
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded