From a1bd9c6accc0470c1c57bdc1b72049624e9a4823 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Thu, 11 Jun 2015 13:05:53 -0600 Subject: [PATCH] Attempt re-enable of codecov --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 458ccd8b..b50d9fe9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,10 @@ script: - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug . ; fi - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make -j2 ; fi - make test - - if [ ${COVERAGE} = 1 ]; then coveralls -e "unittests/catch.hpp" -E ".*\.cpp" --gcov $GCOV --gcov-options '\-lp' ; fi - -after_script: + # - if [ ${COVERAGE} = 1 ]; then coveralls -e "unittests/catch.hpp" -E ".*\.cpp" --gcov $GCOV ; fi + - if [ ${COVERAGE} = 1 ]; then find . -name "*.gcno" | xargs gcov -d -s /home/jason/ChaiScript -r; fi + - if [ ${COVERAGE} = 1 ]; then bash <(curl -s https://codecov.io/bash); fi +fter_script: - if [ ${CPPCHECK} = 1 ]; then contrib/codeanalysis/runcppcheck.sh ; fi