diff --git a/.travis.yml b/.travis.yml
index 05b1a1c..d2d268f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,6 +42,26 @@ script:
after_success:
- |
+ mkdir gcov; cd gcov
+ list_src_path=(gmio_core gmio_core/internal
+ gmio_stl gmio_stl/internal
+ gmio_amf)
+ basedir_output=../build/src/CMakeFiles/gmio_static.dir
+ for src_path in ${list_src_path[*]}; do
+ # Rename file.c.gcno -> file.gcno
+ for file in $basedir_output/$src_path/*.c.gcno; do
+ basename_file=`basename $file .c.gcno`
+ mv $file $basedir_output/$src_path/$basename_file.gcno
+ done
+ # Rename file.c.gcda -> file.gcda
+ for file in $basedir_output/$src_path/*.c.gcda; do
+ basename_file=`basename $file .c.gcda`
+ mv $file $basedir_output/$src_path/$basename_file.gcda
+ done
+ # Generate *.gcov files
+ gcov ../src/$src_path/*.c -o $basedir_output/$src_path
+ done
+
if [ "$TRAVIS_TESTS_COVERAGE" = "ON" ]; then
- bash <(curl -s https://codecov.io/bash);
+ bash <(curl -s https://codecov.io/bash) -X gcov -Xcoveragepy -s .
fi
diff --git a/README.md b/README.md
index 754227b..6705263 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
-[](https://travis-ci.org/fougue/gmio)
+[](https://travis-ci.org/fougue/gmio)
[](https://ci.appveyor.com/project/HuguesDelorme/gmio)
-[](https://coveralls.io/github/fougue/gmio?branch=master)
-[](https://github.com/fougue/gmio/blob/master/LICENSE.txt)
+[](https://codecov.io/gh/fougue/gmio/branch/develop)
+[](https://github.com/fougue/gmio/blob/develop/LICENSE.txt)
[](https://github.com/fougue/gmio/releases)
@@ -86,7 +86,7 @@ create a small test program that shows the problem when run.
License
=======
-gmio is made available under a "2-clause" BSD [license](https://github.com/fougue/gmio/blob/master/LICENSE.txt).
+gmio is made available under a "2-clause" BSD [license](https://github.com/fougue/gmio/blob/develop/LICENSE.txt).
Credits