fix codecov
[m6w6/ext-json_post] / gen_travis_yml.php
index fe02d8193c824c3125dbbebc959354c0dea3d242..dd0d914c3212bd8066fa23febce6e2ef0e4adaf8 100755 (executable)
@@ -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