X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=.travis.yml;h=e02c3158045aef149413460e5cf7e79b8da1aad6;hp=42049e658b365ad0a1f488f7850610940acbfe4d;hb=ec71e1dbf561a6ce1b6b46b027f0e013a8dc2209;hpb=28e3c60b50fa25f459ed6255298483f6210cc317 diff --git a/.travis.yml b/.travis.yml index 42049e6..e02c315 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 @@ -27,7 +27,8 @@ script: after_script: - 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 + - find . $HOME -name '*.gc*' + - test -n "$CFLAGS" && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy sudo: false notifications: