fix codecov
[m6w6/ext-apfd] / gen_travis_yml.php
index 9d5ec840d18191a26d8a7fa990231d20a361bb2a..907c64753f103786bff8bffeaae6d3f5ad11968f 100755 (executable)
@@ -30,8 +30,8 @@ $env = $gen([
        "enable_debug",
        "enable_maintainer_zts"
 ], [
-       "CFLAGS" => "'-O0 -g --profile'",
-       "CXXFLAGS" => "'-O0 -g --profile'",
+       "CFLAGS" => "'-O0 -g --coverage'",
+       "CXXFLAGS" => "'-O0 -g --coverage'",
        "PHP" => $cur,
 ]);
 foreach ($env as $grp) {
@@ -57,5 +57,5 @@ 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