summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-05-27 03:08:07 -0400
committerJeffrey Walton <noloader@gmail.com>2017-05-27 03:08:07 -0400
commit3c504b3401731a6f500f6e4f7d274f6a32d38065 (patch)
tree01d4fd72c6b111f9af43d6c7e942201fe40e1ad5
parent37cd5bcf7bbe8d889225baf8e0c4d016ab2a9798 (diff)
downloadcryptopp-git-3c504b3401731a6f500f6e4f7d274f6a32d38065.tar.gz
Attempt to add Code Coverage report
This should be interesting...
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 08e94ef2..a5d7b5a4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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: