diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-01-05 23:57:19 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-01-06 19:45:01 +0100 |
| commit | c9c4ef4efdac6477168b639f6c151fc622c482bc (patch) | |
| tree | f0566fb324d303e4af5749163eac44b5d253b447 /travis | |
| parent | 0fbe7cf33c308c4b7c81e65e18b90e9d773ba333 (diff) | |
| download | PROJ-c9c4ef4efdac6477168b639f6c151fc622c482bc.tar.gz PROJ-c9c4ef4efdac6477168b639f6c151fc622c482bc.zip | |
Make sure that coveralls reports coverage from both c and cpp files
Diffstat (limited to 'travis')
| -rwxr-xr-x | travis/after_success.sh | 4 | ||||
| -rwxr-xr-x | travis/install.sh | 4 |
2 files changed, 6 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" diff --git a/travis/install.sh b/travis/install.sh index 14fe21e2..2013a610 100755 --- a/travis/install.sh +++ b/travis/install.sh @@ -83,4 +83,8 @@ make check if [ "$BUILD_NAME" != "linux_clang" ]; then mv src/.libs/*.gc* src + mv src/conversions/.libs/*.gc* src/conversions + mv src/iso19111/.libs/*.gc* src/iso19111 + mv src/projections/.libs/*.gc* src/projections + mv src/transformations/.libs/*.gc* src/transformations fi |
