Skip to content

Commit

Permalink
only python part
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed Nov 2, 2020
1 parent e39f6fc commit c8e0690
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions travis/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,16 @@ cd python/
ln -s ../../../keyvi src/cpp/keyvi
cd ..

#coveralls -r . -b python/ -i python \
# --gcov-options '\-lp' \
# -e python/src/cpp/keyvi/3rdparty \
# -E '.*/src/cpp/build-.*/.*' \
# -E '.*/autowrap_includes/autowrap_tools.hpp' \
# -E '.*/src/extra/attributes_converter.h' \
# -E '.*/_core.cpp' \
# --dump python.cov_report_tmp > /dev/null
coveralls -r . -b python/ -i python \
--gcov-options '\-lp' \
-e python/src/cpp/keyvi/3rdparty \
-E '.*/src/cpp/build-.*/.*' \
-E '.*/autowrap_includes/autowrap_tools.hpp' \
-E '.*/src/extra/attributes_converter.h' \
-E '.*/_core.cpp' \
--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
sed s/"python\/src\/cpp\/keyvi"/"keyvi"/g python.cov_report_tmp > python.cov_report

#python.cov_report
coveralls-merge python.cov_report

0 comments on commit c8e0690

Please sign in to comment.