From 8414bd28d6d91c5dcf0b1165b0dc8ceff4e8c49a Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 4 Jul 2019 17:27:44 +0200 Subject: [PATCH] :wrench: coveralls --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.43.0