summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml13
-rw-r--r--README.md1
2 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 1f0e1c8..449dcad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ before_install:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:kalakris/cmake # Non official cmake backport
- sudo apt-get update -qq
+ - sudo pip install cpp-coveralls
install:
- sudo apt-get install --yes swig cmake valgrind g++-4.8
@@ -38,6 +39,18 @@ script:
sudo ldconfig &&
CTEST_OUTPUT_ON_FAILURE=1 make ExperimentalTest ExperimentalCoverage ExperimentalMemCheck )
+after_success:
+ # Push coverage info on coveralls.io.
+ # Ignore generated files, samples and tests
+ - coveralls
+ --exclude "build/bindings/python"
+ --exclude "build/CMakeFiles"
+ --exclude "skeleton-subsystem"
+ --exclude "test/test-subsystem"
+ --exclude "bindings/c/Test.cpp"
+ --exclude "test/tokenizer"
+ --gcov-options '\-lp'
+
notifications:
email:
- david.wagner@intel.com
diff --git a/README.md b/README.md
index f55aeaa..e041f89 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# parameter-framework
[![Build Status](https://travis-ci.org/01org/parameter-framework.svg?branch=master)](https://travis-ci.org/01org/parameter-framework)
+[![Coverage Status](https://coveralls.io/repos/01org/parameter-framework/badge.svg?branch=master)](https://coveralls.io/r/01org/parameter-framework)
## Introduction