travis: explicitly test against 7.4
authorMichael Wallner <mike@php.net>
Mon, 17 Jun 2019 11:51:28 +0000 (13:51 +0200)
committerMichael Wallner <mike@php.net>
Mon, 17 Jun 2019 11:51:28 +0000 (13:51 +0200)
.travis.yml
scripts/gen_travis_yml.php
travis/pecl

index 42997f36e04429ebe161482b19da98401fc7a107..ce23bc488f00384be6091b4a89cd990d94dd1786 100644 (file)
@@ -13,6 +13,7 @@ env:
  - 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=7.4 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
@@ -23,6 +24,7 @@ env:
 matrix:
  fast_finish: true
  allow_failures:
+  - env: PHP=7.4 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
   - env: PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes
 
 before_script:
index 0e4bba72905e06f9f9165e95bf42e1d3bca0fafe..3f09445fb8b25872039e5bd47520141e4dfda8fb 100755 (executable)
@@ -15,7 +15,7 @@ env:
 $gen = include "./travis/pecl/gen-matrix.php";
 $cur = "7.3";
 $env = $gen([
-       "PHP" => ["7.0", "7.1", "7.2", "master"],
+       "PHP" => ["7.0", "7.1", "7.2", "7.4", "master"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "enable_json" => "yes",
@@ -43,7 +43,7 @@ matrix:
  allow_failures:
 <?php
 $allow_failures = array_merge( ... array_map(function($a) {
-       return preg_grep('/^PHP=master /', $a);
+       return preg_grep('/^PHP=(master|7.4) /', $a);
 }, $env));
 foreach ($allow_failures as $e) {
        printf("  - env: %s\n", $e);
index 309d295271f95d9267c64535de8c2e638f6614cc..54a746ab5e068060f53796d0aca55f76656bb8b1 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 309d295271f95d9267c64535de8c2e638f6614cc
+Subproject commit 54a746ab5e068060f53796d0aca55f76656bb8b1