X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=697fb050151561382f04d16daefb19780535b11d;hb=ed0a4dfa7b36910d2e50a64b65682ac65a48d0ce;hp=10e021605018d6356d2f68228bdeaa055b267b6b;hpb=c3aba48026c9f2a6c8eab21163b3ed1c757f15ca;p=m6w6%2Fext-pq diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 10e0216..697fb05 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -4,17 +4,13 @@ language: c sudo: false addons: - postgresql: 9.4 + postgresql: 10 apt: packages: - - php5-cli + - php-cli - php-pear - valgrind -compiler: - - gcc - - clang - cache: directories: - $HOME/cache @@ -29,12 +25,17 @@ env: ["7.0", "7.1", "master"], + "PHP" => ["7.0", "7.1", "7.2", "7.3"], "enable_debug" => "yes", "enable_maintainer_zts" => "yes", "enable_json" => "yes", +], [ + "PHP" => ["8.0", "master"], + "enable_debug" => "yes", + "enable_zts" => "yes", + "enable_json" => "yes", ], [ "PHP" => $cur, "enable_json" => "no", @@ -55,11 +56,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: