X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=.travis.yml;h=cde3602f4923b40999094190f5e2cc807384c9cb;hp=bd6738f6e50b4ac09e39d6e768e6b1a281ad86ab;hb=e6eb81c90406275f1b27df1ba9ccaa6987980bf8;hpb=61d159102918e99ac4c674d597fdc12c490850eb diff --git a/.travis.yml b/.travis.yml index bd6738f..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" && bash <(curl -s https://codecov.io/bash) -g "travis/*" -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: