From 657edc55178fa8da1d4fdf8e27801dc74d3208fa Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 8 Mar 2019 10:20:49 +0100 Subject: [PATCH] travis: codecov --- .travis.yml | 3 +++ scripts/gen_travis_yml.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 12b7c7c..ae09310 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,3 +30,6 @@ before_script: script: - make -f travis/pecl/Makefile test + +after_success: + - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index a79f671..c65f24f 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -55,3 +55,6 @@ before_script: script: - make -f travis/pecl/Makefile test + +after_success: + - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy -- 2.30.2