aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-02-20 21:00:54 +0100
committerRenĂ© Korthaus <[email protected]>2016-02-20 21:00:54 +0100
commit27cd00883bc2dbb8cb794bb80bec30291dd062f4 (patch)
tree6328fd7078e9c584eb9679df7cd2bd643e9d7f91 /src/scripts/ci/travis
parentf7fbdd66bc3194f8fcaec1a747cb55afd3cf4c2f (diff)
Run coverage for python bindings
Diffstat (limited to 'src/scripts/ci/travis')
-rwxr-xr-xsrc/scripts/ci/travis/after_success.sh2
-rwxr-xr-xsrc/scripts/ci/travis/install.sh2
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