move to PHP-7.4 as current GA
[m6w6/ext-json_post] / gen_travis_yml.php
index fe02d8193c824c3125dbbebc959354c0dea3d242..8fa4e579443e0ff1ca9bafdc184db3b9565d34af 100755 (executable)
@@ -2,27 +2,23 @@
 # autogenerated file; do not edit
 language: c
 sudo: false
-dist: trusty
+dist: xenial
 
 addons:
  apt:
   packages:
-   - php5-cli
+   - php-cli
    - php-pear
    - valgrind
 
-compiler:
- - gcc
- - clang
-
 env:
  matrix:
 <?php
 
-$cur = "7.2";
+$cur = "7.4";
 $gen = include "./travis/pecl/gen-matrix.php";
 $env = $gen([
-       "PHP" => ["5.6", "7.0", "7.1", "master"],
+       "PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "master"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "enable_json" => "yes"
@@ -32,8 +28,8 @@ $env = $gen([
        "enable_maintainer_zts",
        "enable_json" => "yes"
 ], [
-       "CFLAGS" => "'-O0 -g --profile'",
-       "CXXFLAGS" => "'-O0 -g --profile'",
+       "CFLAGS" => "'-O0 -g --coverage'",
+       "CXXFLAGS" => "'-O0 -g --coverage'",
        "PHP" => $cur,
        "enable_json" => "yes"
 ]);
@@ -60,4 +56,4 @@ script:
  - make -f travis/pecl/Makefile test
 
 after_success:
- - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
+ - test -n "$CFLAGS" && cd .libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy