X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=.travis.yml;h=cde3602f4923b40999094190f5e2cc807384c9cb;hp=7dc1227b83ed44b004342080d5e9206b3991629c;hb=e6eb81c90406275f1b27df1ba9ccaa6987980bf8;hpb=d76e827648dc84038d41fd58f312e5824ec71791 diff --git a/.travis.yml b/.travis.yml index 7dc1227..cde3602 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,40 @@ -language: php +# autogenerated file; do not edit +language: c -php: - - 5.3 - - 5.4 +addons: + apt: + packages: + - php5-cli + - php-pear + - libcurl4-openssl-dev + - zlib1g-dev + - libidn11-dev + - libevent-dev -before_script: phpize +env: +# once with gcov + - CFLAGS="-O0 -g --coverage" CXXFLAGS="-O0 -g --coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes -script: ./configure && make && NO_INTERACTION=1 REPORT_EXIT_STATUS=1 TEST_PHP_DETAILED=1 make test +before_script: + - make -f travis/pecl/Makefile php + - make -f travis/pecl/Makefile pecl PECL=raphf:raphf:2.0.0 + - make -f travis/pecl/Makefile pecl PECL=propro:propro:2.0.1 + - make -f travis/pecl/Makefile ext PECL=http +script: + - make -f travis/pecl/Makefile test + +after_failure: + - test -e tests/helper/server.log && cat tests/helper/server.log +after_success: + - pwd && find . -name '*.gc*' + - test -n "$CFLAGS" && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy + +sudo: false +notifications: + webhooks: + urls: + - https://webhooks.gitter.im/e/28d35158ac7e385bd14d + on_success: change + on_failure: always + on_start: never