From: Michael Wallner Date: Fri, 8 Mar 2019 06:07:31 +0000 (+0100) Subject: travis: allow failure for master X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a57e97e2697b2e47702657356f211e2876c767ef;p=m6w6%2Fext-propro travis: allow failure for master --- diff --git a/.travis.yml b/.travis.yml index a61a7a9..12b7c7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,26 +9,20 @@ addons: - php-pear env: - - PHP=7.0 enable_debug=no enable_maintainer_zts=no - - PHP=7.1 enable_debug=no enable_maintainer_zts=no - - PHP=7.2 enable_debug=no enable_maintainer_zts=no - - PHP=7.3 enable_debug=no enable_maintainer_zts=no - - PHP=master enable_debug=no enable_maintainer_zts=no - - PHP=7.0 enable_debug=yes enable_maintainer_zts=no - - PHP=7.1 enable_debug=yes enable_maintainer_zts=no - - PHP=7.2 enable_debug=yes enable_maintainer_zts=no - - PHP=7.3 enable_debug=yes enable_maintainer_zts=no - - PHP=master enable_debug=yes enable_maintainer_zts=no - - PHP=7.0 enable_debug=no enable_maintainer_zts=yes - - PHP=7.1 enable_debug=no enable_maintainer_zts=yes - - PHP=7.2 enable_debug=no enable_maintainer_zts=yes - - PHP=7.3 enable_debug=no enable_maintainer_zts=yes - - PHP=master enable_debug=no enable_maintainer_zts=yes - - PHP=7.0 enable_debug=yes enable_maintainer_zts=yes - - PHP=7.1 enable_debug=yes enable_maintainer_zts=yes - - PHP=7.2 enable_debug=yes enable_maintainer_zts=yes - - PHP=7.3 enable_debug=yes enable_maintainer_zts=yes - - PHP=master enable_debug=yes enable_maintainer_zts=yes + - PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.1 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.2 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.3 enable_json=yes enable_debug=no enable_maintainer_zts=no + - PHP=7.3 enable_json=yes enable_debug=yes enable_maintainer_zts=no + - PHP=7.3 enable_json=yes enable_debug=no enable_maintainer_zts=yes + - PHP=7.3 enable_json=yes enable_debug=yes enable_maintainer_zts=yes + - PHP=7.3 enable_json=yes CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' + +matrix: + fast_finish: true + allow_failures: + - env: PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes before_script: - make -f travis/pecl/Makefile php diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 5facac0..a79f671 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -11,19 +11,42 @@ addons: env: ["7.0", "7.1", "7.2", "7.3", "master"], + "PHP" => ["7.0", "7.1", "7.2", "master"], + "enable_debug" => "yes", + "enable_maintainer_zts" => "yes", + "enable_json" => "yes", +], [ + "PHP" => $cur, + "enable_json" => "yes", "enable_debug", - "enable_maintainer_zts", + "enable_maintainer_zts" +], [ + "PHP" => $cur, + "enable_json" => "yes", + "CFLAGS" => "'-O0 -g --coverage'", + "CXXFLAGS" => "'-O0 -g --coverage'", ]); -foreach ($env as $grp) { - foreach ($grp as $e) { + +foreach ($env as $g) { + foreach ($g as $e) { printf(" - %s\n", $e); } } +?> +matrix: + fast_finish: true + allow_failures: + before_script: