Patch up codecov tools for c++ to work

This commit is contained in:
Jason Turner 2015-06-11 13:53:50 -06:00
parent a1bd9c6acc
commit 617d99c1ef

View File

@ -24,9 +24,8 @@ script:
- if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make -j2 ; fi
- make test
# - 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 [ ${COVERAGE} = 1 ]; then bash <(curl -s https://codecov.io/bash | sed "s/# find all the reports/find . -name \"*.gcno\" | xargs gcov -s \`cd .. \&\& pwd\` / ")
after_script:
- if [ ${CPPCHECK} = 1 ]; then contrib/codeanalysis/runcppcheck.sh ; fi