diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-03-15 10:19:02 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-03-15 10:19:02 +0100 |
commit | 42f7c98980c20e17377559afcd91c7d25caced58 (patch) | |
tree | a665c382740faafd31289005cbab3870c78ec987 /.travis.yml | |
parent | 25bfb338a29ac98fd70e7985e90ee50f3f064369 (diff) | |
download | strongswan-42f7c98980c20e17377559afcd91c7d25caced58.tar.bz2 strongswan-42f7c98980c20e17377559afcd91c7d25caced58.tar.xz |
travis: Create coverage report via codecov.io
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
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 |