Attempt to add Code Coverage report

This should be interesting...
This commit is contained in:
Jeffrey Walton 2017-05-27 03:08:07 -04:00
parent 37cd5bcf7b
commit 3c504b3401
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -26,13 +26,14 @@ env:
- BUILD_MODE="no-asm"
- BUILD_MODE="asan"
- BUILD_MODE="ubsan"
- BUILD_MODE="coverage"
exclude:
# Skip GCC on OS X entirely
- os: osx
compiler: gcc
# The sanitizer builds under Clang are very slow.
# The sanitizer builds under Clang run slowly
- compiler: clang
env: BUILD_MODE="asan"
- compiler: clang
@ -41,6 +42,9 @@ env:
script:
- make "$BUILD_MODE" && ./cryptest.exe v && ./cryptest.exe tv all
after_success:
- if [[ "$BUILD_MODE" = "coverage" ]]; then bash <(curl -s https://codecov.io/bash) fi;
# whitelist branches to avoid testing feature branches twice
branches:
only: