fix typo
[m6w6/ext-http] / .travis.yml
1 # autogenerated file; do not edit
2 language: c
3
4 addons:
5 apt:
6 packages:
7 - php5-cli
8 - php-pear
9 - libcurl4-openssl-dev
10 - libidn11-dev
11 - libidn2-0-dev
12 - libicu-dev
13 - libevent-dev
14
15 compiler:
16 - gcc
17 - clang
18
19 cache:
20 directories:
21 - $HOME/cache
22 before_cache:
23 - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
24
25 matrix:
26 fast_finish: true
27 allow_failures:
28 - env: PHP=master
29
30 env:
31 - PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
32 - PHP=7.1 enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
33 - PHP=7.2 enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
34 - PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
35 - PHP=7.3 with_http_libicu_dir=no with_http_libidn_dir=no with_http_libidn2_dir=no with_http_libcurl_dir=no with_http_libevent_dir=no
36 - PHP=7.3 enable_debug=no enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
37 - PHP=7.3 enable_debug=yes enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
38 - PHP=7.3 enable_debug=no enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
39 - PHP=7.3 enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
40 - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli with_http_libicu_dir=yes with_http_libidn_dir=no with_http_libidn2_dir=no
41 - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli with_http_libidn_dir=yes with_http_libicu_dir=no with_http_libidn2_dir=no
42 - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli with_http_libidn2_dir=yes with_http_libicu_dir=no with_http_libidn_dir=no
43
44 install:
45 - ./travis/brotli.sh v1.0.2
46 - |
47 if test "$PHP" = master; then \
48 make -f travis/pecl/Makefile reconf; \
49 make -f travis/pecl/Makefile pecl-rm pecl-clean PECL=ext-raphf.git:raphf:master; \
50 make -f travis/pecl/Makefile pecl-rm pecl-clean PECL=ext-propro.git:propro:master; \
51 fi
52 - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean php
53 - make -f travis/pecl/Makefile pecl PECL=ext-raphf.git:raphf:master
54 - make -f travis/pecl/Makefile pecl PECL=ext-propro.git:propro:master
55
56 script:
57 - make -f travis/pecl/Makefile ext PECL=http
58 - make -f travis/pecl/Makefile test
59
60 after_script:
61 - make -f travis/pecl/Makefile cppcheck
62 after_failure:
63 - test -e tests/helper/server.log && cat tests/helper/server.log
64 after_success:
65 - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
66
67 notifications:
68 webhooks:
69 urls:
70 - https://webhooks.gitter.im/e/28d35158ac7e385bd14d
71 on_success: change
72 on_failure: always
73 on_start: never