From 27cd00883bc2dbb8cb794bb80bec30291dd062f4 Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Sat, 20 Feb 2016 21:00:54 +0100 Subject: Run coverage for python bindings --- src/scripts/ci/travis/after_success.sh | 2 ++ src/scripts/ci/travis/install.sh | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/scripts') 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 -- cgit v1.2.3