X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=2cad77a92e4c241615684ca599485eaebb978b21;hb=a8efa8d8c35f4ba392962cac2bd49e872717a058;hp=ef73806fe757f2873e6d85952e4f279d496b979f;hpb=f0d09200dc7b739366bceb61d86a35fe734e09f5;p=m6w6%2Fext-http diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index ef73806..2cad77a 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -16,10 +16,6 @@ addons: dist: xenial -compiler: - - gcc - - clang - cache: apt: true directories: @@ -50,8 +46,10 @@ $env = $gen([ "with_http_libevent_dir" => "no", "with_http_libbrotli_dir" => "no", ], [ -// everything enabled for current, switching on debug/zts +// everything enabled for current, switching debug/zts "PHP" => $cur, + "PECLs" => "event", // for tests/client029.phpt + "enable_sockets" => "yes", // needed by pecl/event "enable_debug", "enable_maintainer_zts", "enable_json" => "yes", @@ -62,6 +60,8 @@ $env = $gen([ "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", @@ -100,6 +100,14 @@ install: - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean php - 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 -n "$PECLs"; then \ + IFS=$','; \ + for pecl in $PECLs; do \ + make -f travis/pecl/Makefile pecl PECL=$pecl; \ + done; \ + unset IFS; \ + fi script: - make -f travis/pecl/Makefile ext PECL=http