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", "master"],
31 "enable_debug" => "yes",
32 "enable_maintainer_zts" => "yes",
33 "enable_json" => "yes",
36 "enable_json" => "no",
39 "enable_json" => "yes",
41 "enable_maintainer_zts"
44 "enable_json" => "yes",
45 "CFLAGS" => "'-O0 -g --coverage'",
46 "CXXFLAGS" => "'-O0 -g --coverage'",
49 foreach ($env as $g) {
51 printf(" - %s\n", $e);
60 $allow_failures = array_merge( ... array_map(function($a) {
61 return preg_grep('/^PHP=(master) /', $a);
63 foreach ($allow_failures as $e) {
64 printf(" - env: %s\n", $e);
70 if test
"$PHP" = master
; then \
71 make
-f travis
/pecl
/Makefile reconf
; \
72 make
-f travis
/pecl
/Makefile pecl
-rm pecl
-clean PECL
=raphf
:raphf
:2.0.0; \
74 - make
-f travis
/pecl
/Makefile php || make
-f travis
/pecl
/Makefile clean php
75 - make
-f travis
/pecl
/Makefile pecl PECL
=raphf
:raphf
:2.0.0
78 - psql
-U postgres
-c
"CREATE DATABASE test"
81 - make
-f travis
/pecl
/Makefile ext PECL
=pq
82 - make
-f travis
/pecl
/Makefile test
85 - test
-n
"$CFLAGS" && cd src
/.libs
&& bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy