Tweak coveralls settings

This commit is contained in:
Jason Turner 2015-05-30 18:35:46 -06:00
parent 7f871374fa
commit d56e32e2c4

View File

@ -23,7 +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 cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug . ; fi
- if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make -j2 ; fi - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make -j2 ; fi
- make test - make test
- if [ ${COVERAGE} = 1 ]; then coveralls -e "unittests/catch.hpp" -E ".*\.cpp" --gcov $GCOV ; fi - 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 find . -name "*.cpp" | xargs $GCOV; fi
- if [ ${COVERAGE} = 1 ]; then bash <(curl -s https://codecov.io/bash); fi - if [ ${COVERAGE} = 1 ]; then bash <(curl -s https://codecov.io/bash); fi