diff --git a/.travis.yml b/.travis.yml index 2638cfa8..9058a442 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,8 @@ language: cpp -before_script: - - pip install --user codecov script: - ./autogen.sh --enable-coverage && make all test - (cd src/lib/ebus/test && ./test_symbol && ./test_filereader && ./test_data && ./test_message) - ./src/ebusd/ebusd --help after_success: - - find . -name "*.gc*" - - (cd src/ebusd && gcov -pb main.gcno) - - codecov + - find . -type f -name '*.gcno' -exec gcov -pb {} \; + - bash <(curl -s https://codecov.io/bash) -X gcov diff --git a/README.md b/README.md index 7455d0c5..265364b1 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ ebusd is a daemon for handling communication with eBUS devices connected to a 2-wire bus system ("energy bus" used by numerous heating systems). [![Build Status](https://travis-ci.org/john30/ebusd.svg?branch=master)](https://travis-ci.org/john30/ebusd) +[![codecov](https://codecov.io/gh/john30/ebusd/branch/master/graph/badge.svg)](https://codecov.io/gh/john30/ebusd) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/john30/ebusd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)