Wrap up the coveralls / codecov choices

This commit is contained in:
Jason Turner 2015-05-30 18:48:27 -06:00
parent d56e32e2c4
commit 9fe8150861

View File

@ -23,9 +23,7 @@ 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" -i "include/chaiscript" --gcov $GCOV --gcov-options '\-lp' ; fi
# - if [ ${COVERAGE} = 1 ]; then find . -name "*.cpp" | xargs $GCOV; fi
- if [ ${COVERAGE} = 1 ]; then bash <(curl -s https://codecov.io/bash); fi
- if [ ${COVERAGE} = 1 ]; then coveralls -e "unittests/catch.hpp" -E ".*\.cpp" --gcov $GCOV --gcov-options '\-lp' ; fi
after_script:
- if [ ${CPPCHECK} = 1 ]; then contrib/codeanalysis/runcppcheck.sh ; fi