X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=gen_travis_yml.php;h=01e73a1627a91d03211be335ef3a05e5d2e6501a;hb=ef3cda2ecafea93670ac987ac0d167d67cb4c439;hp=e334aaa2577daad53528539ca2aee837741fdba0;hpb=b88e32863367ff518852a40bac847fa9fe56d1c6;p=m6w6%2Fext-apfd diff --git a/gen_travis_yml.php b/gen_travis_yml.php index e334aaa..01e73a1 100755 --- a/gen_travis_yml.php +++ b/gen_travis_yml.php @@ -19,13 +19,10 @@ env: matrix: ["5.4", "5.5", "5.6"], - "enable_debug" => "yes" -], [ - "PHP" => ["7.0", "7.1", "master"], + "PHP" => ["5.6", "7.0", "7.1", "7.2", "master"], "enable_debug" => "yes", "enable_maintainer_zts" => "yes", ], [ @@ -33,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) { @@ -60,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