X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=.travis.yml;h=fb4ca368c4b117e61049f170cd509b28c2a764ed;hb=9cb4ac2e1003aa2aa6465854cb99382b447db2bb;hp=a010051756d9200bfccbb2b3a89d2c03d4f8af94;hpb=84909022568cb8e41e7e5767d4f1aae89a8e0190;p=m6w6%2Fext-http diff --git a/.travis.yml b/.travis.yml index a010051..fb4ca36 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 && make test NO_INTERACTION=1 REPORT_EXIT_STATUS=1 +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" && cd src/.libs && 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