Skip to content

Commit

Permalink
Merge 2c75ee9 into c7b523b
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Muhs committed Nov 6, 2020
2 parents c7b523b + 2c75ee9 commit 0ff54b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -42,7 +42,7 @@ env:

- BUILD_TYPE=rust DOCKER_IMAGE=keyvidev/ubuntu-builder

- BUILD_TYPE=coverage DOCKER_IMAGE=keyvidev/ubuntu-builder:coverage.16.04
- BUILD_TYPE=coverage DOCKER_IMAGE=keyvidev/ubuntu-builder

- BUILD_TYPE=doc DOCKER_IMAGE=keyvidev/ubuntu-builder

Expand Down
19 changes: 10 additions & 9 deletions travis/coverage.sh
Expand Up @@ -11,13 +11,13 @@ travis/build_python.sh

pip install coveralls-merge cpp-coveralls --upgrade

coveralls -r . -b build/ -i keyvi \
--gcov-options '\-lp' \
-E '.*/keyvi/3rdparty/.*' \
-e python \
-E '.*/keyvi/tests/.*' \
-E '.*/keyvi/bin/.*' \
--dump keyvi.cov_report > /dev/null
#coveralls -r . -b build/ -i keyvi \
# --gcov-options '\-lp' \
# -E '.*/keyvi/3rdparty/.*' \
# -e python \
# -E '.*/keyvi/tests/.*' \
# -E '.*/keyvi/bin/.*' \
# --dump keyvi.cov_report > /dev/null

# workaround for coverage measurement: symlink keyvi
cd python/
Expand All @@ -30,10 +30,11 @@ coveralls -r . -b python/ -i python \
-E '.*/src/cpp/build-.*/.*' \
-E '.*/autowrap_includes/autowrap_tools.hpp' \
-E '.*/src/extra/attributes_converter.h' \
-E '.*/_core.cpp' \
-E '.*/_core.cpp'
-e build
--dump python.cov_report_tmp > /dev/null

# workaround: remove 'python' from source path before merge
sed s/"python\/src\/cpp\/keyvi"/"keyvi"/g python.cov_report_tmp > python.cov_report

coveralls-merge keyvi.cov_report python.cov_report
coveralls-merge python.cov_report

0 comments on commit 0ff54b9

Please sign in to comment.