aboutsummaryrefslogtreecommitdiff
path: root/travis/after_success.sh
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-01-05 23:57:19 +0100
committerKristian Evers <kristianevers@gmail.com>2019-01-06 19:45:01 +0100
commitc9c4ef4efdac6477168b639f6c151fc622c482bc (patch)
treef0566fb324d303e4af5749163eac44b5d253b447 /travis/after_success.sh
parent0fbe7cf33c308c4b7c81e65e18b90e9d773ba333 (diff)
downloadPROJ-c9c4ef4efdac6477168b639f6c151fc622c482bc.tar.gz
PROJ-c9c4ef4efdac6477168b639f6c151fc622c482bc.zip
Make sure that coveralls reports coverage from both c and cpp files
Diffstat (limited to 'travis/after_success.sh')
-rwxr-xr-xtravis/after_success.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/travis/after_success.sh b/travis/after_success.sh
index 2ae34bc8..0adb6d77 100755
--- a/travis/after_success.sh
+++ b/travis/after_success.sh
@@ -2,10 +2,10 @@
set -e
-
if [ "$BUILD_NAME" != "linux_clang" ]; then
# coveralls falsely reports .c-files in the build directories as having 100% coverage so we exclude them
- coveralls --extension .c --exclude build_autoconf --exclude build_cmake
+ coveralls --build-root src --extension .c --extension .cpp \
+ --exclude build_autoconf --exclude build_cmake --exclude test --exclude examples
fi
echo "$TRAVIS_SECURE_ENV_VARS"