X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fgen_travis_yml.php;h=48bfda8278d73d67c1f86709c6178b263416d788;hb=37c84e5e0bd951e7c91754735dc45bbc1c2d3495;hp=8001d10b45a78fce1b9a9e853a07ee2b6565073a;hpb=32a1bb34907be47e7d062c6633419c6e7fa38a16;p=m6w6%2Fext-raphf diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 8001d10..48bfda8 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -2,29 +2,48 @@ # autogenerated file; do not edit sudo: false language: c +dist: xenial addons: apt: packages: - - php5-cli + - php-cli - php-pear env: - matrix: ["5.4", "5.5", "5.6"], + "PHP" => ["7.0", "7.1", "7.2", "master"], + "enable_debug" => "yes", + "enable_maintainer_zts" => "yes", +], [ + "PHP" => $cur, "enable_debug", - "enable_maintainer_zts", + "enable_maintainer_zts" ]); -foreach ($env as $e) { - printf(" - %s\n", $e); +foreach ($env as $grp) { + foreach ($grp as $e) { + printf(" - %s\n", $e); + } } ?> +matrix: + fast_finish: true + allow_failures: + + before_script: - make -f travis/pecl/Makefile php - make -f travis/pecl/Makefile ext PECL=raphf