aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-03-15 10:19:02 +0100
committerTobias Brunner <tobias@strongswan.org>2017-03-15 10:19:02 +0100
commit42f7c98980c20e17377559afcd91c7d25caced58 (patch)
treea665c382740faafd31289005cbab3870c78ec987 /.travis.yml
parent25bfb338a29ac98fd70e7985e90ee50f3f064369 (diff)
downloadstrongswan-42f7c98980c20e17377559afcd91c7d25caced58.tar.bz2
strongswan-42f7c98980c20e17377559afcd91c7d25caced58.tar.xz
travis: Create coverage report via codecov.io
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 5322e69ad..e1329b347 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,11 @@ before_script:
script:
- ./scripts/test.sh
+after_success:
+ if [ "$TEST" == "coverage" ]; then
+ bash <(curl -s https://codecov.io/bash);
+ fi
+
after_failure:
- cat config.log
@@ -47,6 +52,8 @@ matrix:
- compiler: gcc
env: TEST=apidoc
- compiler: gcc
+ env: TEST=coverage
+ - compiler: gcc
env: TEST=win64 MONOLITHIC=yes
# this does not work on 14.04 due to a missing @4 decoration for
# TryAcquireSRWLockExclusive in MinGW 3.1.0