mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Wrap up the coveralls / codecov choices
This commit is contained in:
parent
d56e32e2c4
commit
9fe8150861
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user