2 # autogenerated file; do not edit
10 - libcurl4
-openssl
-dev
24 - find
$HOME/cache
-name
'*.gcda' -o
-name
'*.gcno' -delete
29 $gen = include "./travis/pecl/gen-matrix.php";
32 // most useful for all additional versions except current
33 "PHP" => ["7.0", "7.1", "7.2", "7.4", "master"],
34 "enable_debug" => "yes",
35 "enable_maintainer_zts" => "yes",
36 "enable_json" => "yes",
37 "enable_hash" => "yes",
38 "enable_iconv" => "yes",
40 // everything disabled for current
42 "with_http_libicu_dir" => "no",
43 "with_http_libidn_dir" => "no",
44 "with_http_libidn2_dir" => "no",
45 "with_http_libcurl_dir" => "no",
46 "with_http_libevent_dir" => "no",
47 "with_http_libbrotli_dir" => "no",
49 // everything enabled for current, switching debug/zts
51 "PECLs" => "event", // for tests/client029.phpt
52 "enable_sockets" => "yes", // needed by pecl/event
54 "enable_maintainer_zts",
55 "enable_json" => "yes",
56 "enable_hash" => "yes",
57 "enable_iconv" => "yes",
59 // once everything enabled for current, with coverage
60 "CFLAGS" => "'-O0 -g --coverage'",
61 "CXXFLAGS" => "'-O0 -g --coverage'",
63 "PECLs" => "event", // for tests/client029.phpt
64 "enable_sockets" => "yes", // needed by pecl/event
65 "enable_json" => "yes",
66 "enable_hash" => "yes",
67 "enable_iconv" => "yes",
69 "with_http_libicu_dir",
70 "with_http_libidn_dir",
71 "with_http_libidn2_dir",
74 foreach ($env as $grp) {
75 foreach ($grp as $e) {
76 printf(" - %s\n", $e);
85 $allow_failures = array_merge( ... array_map(function($a) {
86 return preg_grep('/^PHP=(master|7.4) /', $a);
88 foreach ($allow_failures as $e) {
89 printf(" - env: %s\n", $e);
95 if test
"$PHP" = master
; then \
96 make
-f travis
/pecl
/Makefile reconf
; \
97 make
-f travis
/pecl
/Makefile pecl
-rm pecl
-clean PECL
=ext
-raphf
.git
:raphf
:master
; \
98 make
-f travis
/pecl
/Makefile pecl
-rm pecl
-clean PECL
=ext
-propro
.git
:propro
:master
; \
100 - make
-f travis
/pecl
/Makefile php || make
-f travis
/pecl
/Makefile clean php
101 - make
-f travis
/pecl
/Makefile pecl PECL
=ext
-raphf
.git
:raphf
:master
102 - make
-f travis
/pecl
/Makefile pecl PECL
=ext
-propro
.git
:propro
:master
104 if test
-n
"$PECLs"; then \
106 for pecl in
$PECLs; do \
107 make
-f travis
/pecl
/Makefile pecl PECL
=$pecl; \
113 - make
-f travis
/pecl
/Makefile ext PECL
=http
114 - make
-f travis
/pecl
/Makefile test
117 - make
-f travis
/pecl
/Makefile cppcheck
119 - test
-e tests
/helper
/server
.log
&& cat tests
/helper
/server
.log
121 - test
-n
"$CFLAGS" && cd src
/.libs
&& bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy
126 - https
://webhooks.gitter.im/e/28d35158ac7e385bd14d