X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=.travis.yml;h=cde3602f4923b40999094190f5e2cc807384c9cb;hp=42049e658b365ad0a1f488f7850610940acbfe4d;hb=e6eb81c90406275f1b27df1ba9ccaa6987980bf8;hpb=28e3c60b50fa25f459ed6255298483f6210cc317 diff --git a/.travis.yml b/.travis.yml index 42049e6..cde3602 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ addons: env: # once with gcov - - CFLAGS="-O0 -fprofile-arcs -ftest-coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes + - 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 @@ -24,10 +24,11 @@ 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" && gcov -pb src/.libs/*.o && bash <(curl -s https://codecov.io/bash) -X gcov -X xcode -X coveragepy + - pwd && find . -name '*.gc*' + - test -n "$CFLAGS" && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy sudo: false notifications: