You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2015/10/10 20:43:37 UTC

celix git commit: CELIX-271: setup coveralls.io

Repository: celix
Updated Branches:
  refs/heads/develop 7f032d759 -> 4d84558c9


CELIX-271: setup coveralls.io


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/4d84558c
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/4d84558c
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/4d84558c

Branch: refs/heads/develop
Commit: 4d84558c9e693587e24aaf2efb2c2571bb5542ff
Parents: 7f032d7
Author: Bjoern Petri <bp...@apache.org>
Authored: Sat Oct 10 20:42:56 2015 +0200
Committer: Bjoern Petri <bp...@apache.org>
Committed: Sat Oct 10 20:42:56 2015 +0200

----------------------------------------------------------------------
 .travis.yml | 5 ++++-
 README.md   | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/4d84558c/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 6d4a57c..f742f21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,5 +22,8 @@ script:
     - make all && make deploy && make install-all
     - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/utils:`pwd`/framework && make test && make coverage
 
-
+after_success:
+    - cd ${TRAVIS_BUILD_DIR}/build
+    - gem install coveralls-lcov
+    - lcx="lcov --output-file=coverage.info " && for i in `find . -name "*.info.cleaned"`; do lcx+=" --add-tracefile=$i"; done && $lcx && coveralls-lcov --repo-token=9dpeTAjiGoQU5hgXFe0ezk65iu40oc3WY coverage.info
 

http://git-wip-us.apache.org/repos/asf/celix/blob/4d84558c/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 473418a..818c59c 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-#Apache Celix [![Build Status](https://travis-ci.org/apache/celix.svg?branch=develop)](https://travis-ci.org/apache/celix)
+#Apache Celix [![Build Status](https://travis-ci.org/apache/celix.svg?branch=develop)](https://travis-ci.org/apache/celix)[![Coverage Status](https://coveralls.io/repos/apache/celix/badge.svg?branch=master&service=github)](https://coveralls.io/github/apache/celix?branch=master)
 Apache Celix is an implementation of the OSGi specification adapted to C. It will follow the API as close as possible, but since the OSGi specification is written primarily for Java, there will be differences (Java is OO, C is procedural). An important aspect of the implementation is interoperability between Java and C. This interoperability is achieved by porting and implementing the Remote Services specification in Celix.
 
 ##Building