X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=28eadfdffb889a780052827d671cae32ac8f2256;hp=6513aefb5e97335faaf835bb54e63a5803f218bd;hb=9dfcccaad554c8e3ddeb9d2635e2faf09425282e;hpb=b79edc51dfb0d34f172a7bb80e7b0f225d95a744 diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 6513aef..28eadfd 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -11,9 +11,12 @@ addons: - php-pear - valgrind -compiler: - - gcc - - clang +cache: + directories: + - $HOME/cache + +before_cache: + - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete env: global: @@ -22,9 +25,9 @@ env: ["7.0", "7.1", "master"], + "PHP" => ["7.0", "7.1", "7.2", "7.4", "master"], "enable_debug" => "yes", "enable_maintainer_zts" => "yes", "enable_json" => "yes", @@ -48,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: