- PHP=7.2 enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
- PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
- 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 with_http_libbrotli_dir=no
- - PHP=7.3 PECL_EVENT=yes enable_debug=no enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes
- - PHP=7.3 PECL_EVENT=yes enable_debug=yes enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes
- - PHP=7.3 PECL_EVENT=yes enable_debug=no enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
- - PHP=7.3 PECL_EVENT=yes enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
- - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 enable_json=yes enable_hash=yes enable_iconv=yes with_http_libicu_dir=yes with_http_libidn_dir=no with_http_libidn2_dir=no
- - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 enable_json=yes enable_hash=yes enable_iconv=yes with_http_libidn_dir=yes with_http_libicu_dir=no with_http_libidn2_dir=no
- - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 enable_json=yes enable_hash=yes enable_iconv=yes with_http_libidn2_dir=yes with_http_libicu_dir=no with_http_libidn_dir=no
+ - PHP=7.3 PECLs=event enable_sockets=yes enable_debug=no enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes
+ - PHP=7.3 PECLs=event enable_sockets=yes enable_debug=yes enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes
+ - PHP=7.3 PECLs=event enable_sockets=yes enable_debug=no enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
+ - PHP=7.3 PECLs=event enable_sockets=yes enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
+ - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 PECLs=event enable_sockets=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libicu_dir=yes with_http_libidn_dir=no with_http_libidn2_dir=no
+ - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 PECLs=event enable_sockets=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libidn_dir=yes with_http_libicu_dir=no with_http_libidn2_dir=no
+ - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 PECLs=event enable_sockets=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libidn2_dir=yes with_http_libicu_dir=no with_http_libidn_dir=no
matrix:
fast_finish: true
- make -f travis/pecl/Makefile pecl PECL=ext-raphf.git:raphf:master
- make -f travis/pecl/Makefile pecl PECL=ext-propro.git:propro:master
- |
- if test "$PECL_EVENT" = "yes"; then \
- make -f travis/pecl/Makefile pecl PECL=event; \
+ if test -n "$PECLs"; then \
+ IFS=$','; \
+ for pecl in $PECLs; do \
+ make -f travis/pecl/Makefile pecl PECL=$pecl; \
+ done; \
+ unset IFS; \
fi
script:
], [
// everything enabled for current, switching debug/zts
"PHP" => $cur,
- "PECL_EVENT" => "yes",
+ "PECLs" => "event", // for tests/client029.phpt
+ "enable_sockets" => "yes", // needed by pecl/event
"enable_debug",
"enable_maintainer_zts",
"enable_json" => "yes",
"CFLAGS" => "'-O0 -g --coverage'",
"CXXFLAGS" => "'-O0 -g --coverage'",
"PHP" => $cur,
+ "PECLs" => "event", // for tests/client029.phpt
+ "enable_sockets" => "yes", // needed by pecl/event
"enable_json" => "yes",
"enable_hash" => "yes",
"enable_iconv" => "yes",
- make -f travis/pecl/Makefile pecl PECL=ext-raphf.git:raphf:master
- make -f travis/pecl/Makefile pecl PECL=ext-propro.git:propro:master
- |
- if test "$PECL_EVENT" = "yes"; then \
- make -f travis/pecl/Makefile pecl PECL=event; \
+ if test -n "$PECLs"; then \
+ IFS=$','; \
+ for pecl in $PECLs; do \
+ make -f travis/pecl/Makefile pecl PECL=$pecl; \
+ done; \
+ unset IFS; \
fi
script: