From d190c1055a183bdd3b6df84c635ab020739dd3de Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Thu, 5 Apr 2018 11:01:20 +0200 Subject: [PATCH] Upload coverage on coveralls --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index b7a0fe342..2ce7ffde4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -133,6 +133,7 @@ install: - if test "$MAKEDOC" == yes ; then sudo apt-get install -y doxygen-latex ; fi # install lcov - if test "$MAKECOVERAGE" == yes ; then ./.travis/install.lcov v1.13 ; fi + - if test "$MAKECOVERAGE" == yes ; then pip install --user cpp-coveralls ; fi # install numpy and cython for python interface # only for linux and homebrew (no macports) - if test "$PLUMED_CXX" ; then @@ -221,3 +222,6 @@ script: after_success: - if test "$MAKEDOC" == yes ; then ./.travis/push doc ; fi - if test "$MAKECOVERAGE" == yes ; then ./.travis/push coverage ; fi + - if test "$MAKECOVERAGE" == yes ; then + coveralls -r src --gcov-options '\-lp' -E ".*/.*/.*.h" --exclude lapack --exclude blas --exclude molfile --exclude lepton ; + fi -- GitLab