X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=7e05a5453357b220e9abc53a89bd5c00165b204f;hb=6f5faabcca700632d224a301c32cff88ef49d11e;hp=10e021605018d6356d2f68228bdeaa055b267b6b;hpb=c3aba48026c9f2a6c8eab21163b3ed1c757f15ca;p=m6w6%2Fext-pq diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 10e0216..7e05a54 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -7,14 +7,10 @@ addons: postgresql: 9.4 apt: packages: - - php5-cli + - php-cli - php-pear - valgrind -compiler: - - gcc - - clang - cache: directories: - $HOME/cache @@ -29,9 +25,9 @@ env: ["7.0", "7.1", "master"], + "PHP" => ["7.0", "7.1", "7.2", "7.3", "master"], "enable_debug" => "yes", "enable_maintainer_zts" => "yes", "enable_json" => "yes", @@ -55,11 +51,27 @@ foreach ($env as $g) { printf(" - %s\n", $e); } } +?> +matrix: + fast_finish: true + allow_failures: + install: - - make -f travis/pecl/Makefile php + - | + if test "$PHP" = master; then \ + make -f travis/pecl/Makefile reconf; \ + make -f travis/pecl/Makefile pecl-rm pecl-clean PECL=raphf:raphf:2.0.0; \ + fi + - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean php - make -f travis/pecl/Makefile pecl PECL=raphf:raphf:2.0.0 before_script: