X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-raphf;a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=48bfda8278d73d67c1f86709c6178b263416d788;hp=8001d10b45a78fce1b9a9e853a07ee2b6565073a;hb=37c84e5e0bd951e7c91754735dc45bbc1c2d3495;hpb=7b963303fb7d67bcdeefde14eb9c0f9346ff50a4 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