Fix releases link
[m6w6/ext-json_post] / gen_travis_yml.php
index fe02d8193c824c3125dbbebc959354c0dea3d242..a5a766089cf115f964bc133064c2ba5ab9df150b 100755 (executable)
@@ -19,10 +19,10 @@ env:
  matrix:
 <?php
 
-$cur = "7.2";
+$cur = "7.3";
 $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", "master"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "enable_json" => "yes"
@@ -32,8 +32,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 +60,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