diff options
author | René Korthaus <[email protected]> | 2016-02-20 21:00:54 +0100 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-02-20 21:00:54 +0100 |
commit | 27cd00883bc2dbb8cb794bb80bec30291dd062f4 (patch) | |
tree | 6328fd7078e9c584eb9679df7cd2bd643e9d7f91 | |
parent | f7fbdd66bc3194f8fcaec1a747cb55afd3cf4c2f (diff) |
Run coverage for python bindings
-rwxr-xr-x | src/scripts/ci/travis/after_success.sh | 2 | ||||
-rwxr-xr-x | src/scripts/ci/travis/install.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/scripts/ci/travis/after_success.sh b/src/scripts/ci/travis/after_success.sh index 178586b6d..de5030c2d 100755 --- a/src/scripts/ci/travis/after_success.sh +++ b/src/scripts/ci/travis/after_success.sh @@ -8,5 +8,7 @@ if [ "$BUILD_MODE" = "coverage" ]; then /tmp/usr/bin/lcov --gcov-tool "$GCOV" --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info /tmp/usr/bin/lcov --gcov-tool "$GCOV" --list coverage.info + coverage run --branch src/python/botan.py + codecov fi diff --git a/src/scripts/ci/travis/install.sh b/src/scripts/ci/travis/install.sh index 67dd82cfe..0e49ad363 100755 --- a/src/scripts/ci/travis/install.sh +++ b/src/scripts/ci/travis/install.sh @@ -8,6 +8,8 @@ if [ "$BUILD_MODE" = "coverage" ]; then export PREFIX="/tmp" make -C lcov-1.11/ install + pip install --user coverage + pip install --user codecov fi |