X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=fbfae508be3c1545b2ee7fba4487ac8a51308256;hp=311a4cd000afa5edccef34ab7e1bdcf7349e6bdb;hb=359e0071f9e2fdc32b2cdc06716197d9c73de759;hpb=b41323e1817c50d062b27da798c7db35fa58212c diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 311a4cd..fbfae50 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -29,6 +29,8 @@ foreach ($env as $e) { } ?> +# once with gcov + - CFLAGS="-O0 -fprofile-arcs -ftest-coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes before_script: - make -f travis/pecl/Makefile php @@ -41,6 +43,8 @@ script: after_script: - test -e tests/helper/server.log && cat tests/helper/server.log +after_success: + - test -n "$CFLAGS" && bash <(curl -s https://codecov.io/bash) sudo: false notifications: