fix codecov
[m6w6/ext-json_post] / gen_travis_yml.php
index 44f45b6ede52490d9d04569caf33f3180e371f94..dd0d914c3212bd8066fa23febce6e2ef0e4adaf8 100755 (executable)
@@ -22,11 +22,7 @@ env:
 $cur = "7.2";
 $gen = include "./travis/pecl/gen-matrix.php";
 $env = $gen([
-       "PHP" => ["5.4", "5.5", "5.6"],
-       "enable_debug" => "yes",
-       "enable_json" => "yes"
-], [
-       "PHP" => ["7.0", "7.1", "master"],
+       "PHP" => ["5.6", "7.0", "7.1", "master"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "enable_json" => "yes"
@@ -36,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"
 ]);
@@ -64,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