From 7b213e70919e505e86d98c4de67b6819d35a3a97 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Sat, 8 Sep 2018 10:11:53 +0200 Subject: [tests] switch from coveralls to codecov --- .travis.yml | 5 +++++ README.md | 2 +- tests/travis/build-and-test | 5 ----- tests/travis/install-build-depends | 4 ---- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3c9ad8bc..fef4f94d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,3 +13,8 @@ install: - tests/travis/install-build-depends script: - tests/travis/build-and-test +after_success: + - | + if [ "$CONFIG" = "full-debug" ]; then + bash <(curl -s https://codecov.io/bash) + fi diff --git a/README.md b/README.md index 877eca52..cea900f2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Build Status](https://img.shields.io/travis/qxmpp-project/qxmpp.svg)](https://travis-ci.org/qxmpp-project/qxmpp) -[![Code Coverage](https://img.shields.io/coveralls/qxmpp-project/qxmpp.svg)](https://coveralls.io/github/qxmpp-project/qxmpp) +[![Code Coverage](https://img.shields.io/codecov/c/github/qxmpp-project/qxmpp.svg)](https://codecov.io/gh/qxmpp-project/qxmpp) ABOUT QXMPP =========== diff --git a/tests/travis/build-and-test b/tests/travis/build-and-test index f07ea2ba..b1efbd9a 100755 --- a/tests/travis/build-and-test +++ b/tests/travis/build-and-test @@ -26,8 +26,3 @@ make # run tests make test - -# upload coverage report -if [ "$CONFIG" = "full-debug" ]; then - coveralls --exclude-pattern '.*autogen.*' --include src -fi diff --git a/tests/travis/install-build-depends b/tests/travis/install-build-depends index 9c68d763..f735d816 100755 --- a/tests/travis/install-build-depends +++ b/tests/travis/install-build-depends @@ -9,7 +9,3 @@ full*) sudo apt-get install -qq doxygen libopus-dev libspeex-dev libtheora-dev libvpx-dev ;; esac - -if [ "$CONFIG" = "full-debug" ]; then - pip install --user cpp-coveralls -fi -- cgit v1.2.3