From 193097968d93f4900022f7abd65d55868b3ce7b6 Mon Sep 17 00:00:00 2001
From: Manuel Guenther <manuel.guenther@idiap.ch>
Date: Thu, 26 Feb 2015 19:46:39 +0100
Subject: [PATCH] enabled both C++ and python coverage to be reported

---
 .travis.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 824d3fa..c4a1c89 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,14 +20,16 @@ before_install:
 - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq gfortran; fi
 - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi
 - pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel sphinx nose==1.3.0 jinja2==2.6 cpp-coveralls pygments==1.6
+- pip install coveralls
 install:
 - python bootstrap-buildout.py
-- CFLAGS=-coverage ./bin/buildout
+- CPPFLAGS=--coverage LDFLAGS=--coverage ./bin/buildout
 script:
 - ./bin/python -c 'from bob.io.base import get_config; print(get_config())'
 - ./bin/coverage run --source=bob.io.base ./bin/nosetests -sv
 - ./bin/sphinx-build -b doctest doc sphinx
 - ./bin/sphinx-build -b html doc sphinx
 after_success:
-- coveralls --build-root=`pwd` --exclude=src --exclude-pattern=".*Compiler.*"
+- cpp-coveralls --build-root=`pwd` --exclude=src --exclude-pattern=".*Compiler.*" --dump=cpp_cov.json
+- coveralls --merge=cpp_cov.json
 - ./src/bob.extension/scripts/upload-sphinx.sh
-- 
GitLab