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
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
+ - test -n "$CFLAGS" && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
sudo: false
notifications: