Skip to content
Snippets Groups Projects
Commit d190c105 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Upload coverage on coveralls

parent f2ac1400
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,7 @@ install: ...@@ -133,6 +133,7 @@ install:
- if test "$MAKEDOC" == yes ; then sudo apt-get install -y doxygen-latex ; fi - if test "$MAKEDOC" == yes ; then sudo apt-get install -y doxygen-latex ; fi
# install lcov # install lcov
- if test "$MAKECOVERAGE" == yes ; then ./.travis/install.lcov v1.13 ; fi - 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 # install numpy and cython for python interface
# only for linux and homebrew (no macports) # only for linux and homebrew (no macports)
- if test "$PLUMED_CXX" ; then - if test "$PLUMED_CXX" ; then
...@@ -221,3 +222,6 @@ script: ...@@ -221,3 +222,6 @@ script:
after_success: after_success:
- if test "$MAKEDOC" == yes ; then ./.travis/push doc ; fi - if test "$MAKEDOC" == yes ; then ./.travis/push doc ; fi
- if test "$MAKECOVERAGE" == yes ; then ./.travis/push coverage ; 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment