X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=213c5f46ed3127b121109d3053b6a599ba6b1363;hp=f83d0b4c3f9e62e36135e46fecd54dcaef761562;hb=45fb8dff8bc2981151fbca023408c61acbba0f08;hpb=c55db20a130d729ca8747346c5e5ab9fb52fd89d diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index f83d0b4..213c5f4 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -23,14 +23,14 @@ $env = $gen([ "enable_json", "enable_hash" => ["yes"], "enable_iconv" => ["yes"], - "enable_phar" => ["yes"], - "enable_posix" => ["yes"] ]); foreach ($env as $e) { printf(" - %s\n", $e); } ?> +# once with gcov + - CFLAGS="-O0 -g --coverage" CXXFLAGS="-O0 -g --coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes before_script: - make -f travis/pecl/Makefile php @@ -41,8 +41,10 @@ before_script: script: - make -f travis/pecl/Makefile test -after_script: +after_failure: - test -e tests/helper/server.log && cat tests/helper/server.log +after_success: + - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy sudo: false notifications: