aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--readme.rst4
-rwxr-xr-xsrc/scripts/ci/travis/after_success.sh11
-rwxr-xr-xsrc/scripts/ci/travis/install.sh3
3 files changed, 9 insertions, 9 deletions
diff --git a/readme.rst b/readme.rst
index 057ea13d6..313e92a9d 100644
--- a/readme.rst
+++ b/readme.rst
@@ -66,8 +66,8 @@ There is also a third party open source implementation of
.. image:: https://scan.coverity.com/projects/624/badge.svg
:target: https://scan.coverity.com/projects/624
-.. image:: https://coveralls.io/repos/randombit/botan/badge.svg?branch=master
- :target: https://coveralls.io/r/randombit/botan?branch=master
+.. image:: https://codecov.io/github/randombit/botan/coverage.svg?branch=master
+ :target: https://codecov.io/github/randombit/botan
Download
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/src/scripts/ci/travis/after_success.sh b/src/scripts/ci/travis/after_success.sh
index 5cd01b39a..178586b6d 100755
--- a/src/scripts/ci/travis/after_success.sh
+++ b/src/scripts/ci/travis/after_success.sh
@@ -3,11 +3,10 @@ set -ev
which shellcheck > /dev/null && shellcheck "$0" # Run shellcheck on this if available
if [ "$BUILD_MODE" = "coverage" ]; then
- GCOV="/usr/bin/gcov-4.8"
- /tmp/usr/bin/lcov --gcov-tool "$GCOV" --directory . --capture --output-file coverage.info
- /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
+ GCOV="/usr/bin/gcov-4.8"
+ /tmp/usr/bin/lcov --gcov-tool "$GCOV" --directory . --capture --output-file coverage.info
+ /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
- # Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)
- coveralls-lcov --repo-token="$COVERALLS_REPO_TOKEN" coverage.info
+ codecov
fi
diff --git a/src/scripts/ci/travis/install.sh b/src/scripts/ci/travis/install.sh
index 447049f60..830834d3e 100755
--- a/src/scripts/ci/travis/install.sh
+++ b/src/scripts/ci/travis/install.sh
@@ -7,7 +7,8 @@ if [ "$BUILD_MODE" = "coverage" ]; then
tar -xvf lcov_1.11.orig.tar.gz
export PREFIX="/tmp"
make -C lcov-1.11/ install
- gem install coveralls-lcov
+
+ pip install --user codecov
fi
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$TARGETOS" != "ios" ]; then