2 # autogenerated file; do not edit
19 - find
$HOME/cache
-name
'*.gcda' -o
-name
'*.gcno' -delete
23 - PQ_DSN
="postgres://postgres@localhost/test"
27 $gen = include "./travis/pecl/gen-matrix.php";
30 "PHP" => ["7.0", "7.1", "7.2", "7.3"],
31 "enable_debug" => "yes",
32 "enable_maintainer_zts" => "yes",
33 "enable_json" => "yes",
35 "PHP" => ["8.0", "master"],
36 "enable_debug" => "yes",
37 "enable_zts" => "yes",
38 "enable_json" => "yes",
41 "enable_json" => "no",
44 "enable_json" => "yes",
46 "enable_maintainer_zts"
49 "enable_json" => "yes",
50 "CFLAGS" => "'-O0 -g --coverage'",
51 "CXXFLAGS" => "'-O0 -g --coverage'",
54 foreach ($env as $g) {
56 printf(" - %s\n", $e);
65 $allow_failures = array_merge( ... array_map(function($a) {
66 return preg_grep('/^PHP=(master) /', $a);
68 foreach ($allow_failures as $e) {
69 printf(" - env: %s\n", $e);
75 if test
"$PHP" = master
; then \
76 make
-f travis
/pecl
/Makefile reconf
; \
77 make
-f travis
/pecl
/Makefile pecl
-rm pecl
-clean PECL
=raphf
:raphf
:2.0.0; \
79 - make
-f travis
/pecl
/Makefile php || make
-f travis
/pecl
/Makefile clean php
80 - make
-f travis
/pecl
/Makefile pecl PECL
=raphf
:raphf
:2.0.0
83 - psql
-U postgres
-c
"CREATE DATABASE test"
86 - make
-f travis
/pecl
/Makefile ext PECL
=pq
87 - make
-f travis
/pecl
/Makefile test
90 - test
-n
"$CFLAGS" && cd src
/.libs
&& bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy