aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2018-09-08 10:11:53 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2018-09-08 10:19:13 +0200
commit7b213e70919e505e86d98c4de67b6819d35a3a97 (patch)
treee1b62e3988ac5d22addd350d8784b40f198a7c1a
parentaeada5e5175c947d8fbc25d71c03725f3e55620b (diff)
downloadqxmpp-7b213e70919e505e86d98c4de67b6819d35a3a97.tar.gz
[tests] switch from coveralls to codecov
-rw-r--r--.travis.yml5
-rw-r--r--README.md2
-rwxr-xr-xtests/travis/build-and-test5
-rwxr-xr-xtests/travis/install-build-depends4
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