From: fennecdjay Date: Thu, 4 Jul 2019 15:27:44 +0000 (+0200) Subject: :wrench: coveralls X-Git-Tag: nightly~2379 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8414bd28d6d91c5dcf0b1165b0dc8ceff4e8c49a;p=gwion.git :wrench: coveralls --- diff --git a/.travis.yml b/.travis.yml index bb025f6e..e4e924a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,11 @@ compiler: - clang install: - - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1 ]; then gem install coveralls-lcov; fi; + - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1 ]; then + pip install cpp-coveralls; + export COVERAGE=1; + fi; +# - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1 ]; then gem install coveralls-lcov; fi; - if [ $(uname) != "Linux" ] && [ $(uname) != "Darwin" ]; then choco install make; export BUILD_ON_WINDOWS=1; @@ -70,5 +74,10 @@ script: } fi; +after_success: + - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1 ]; then + overalls --exclude lib --exclude tests --gcov-options '\-lp; + fi + git: submodules: false