X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=gen_travis_yml.php;h=8fa4e579443e0ff1ca9bafdc184db3b9565d34af;hp=fe02d8193c824c3125dbbebc959354c0dea3d242;hb=c4e41f13aea0c8927e5f88ea5602150f87041164;hpb=7d6126509617ad0285e86b1d0532517b99953242 diff --git a/gen_travis_yml.php b/gen_travis_yml.php index fe02d81..8fa4e57 100755 --- a/gen_travis_yml.php +++ b/gen_travis_yml.php @@ -2,27 +2,23 @@ # autogenerated file; do not edit language: c sudo: false -dist: trusty +dist: xenial addons: apt: packages: - - php5-cli + - php-cli - php-pear - valgrind -compiler: - - gcc - - clang - env: matrix: ["5.6", "7.0", "7.1", "master"], + "PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "master"], "enable_debug" => "yes", "enable_maintainer_zts" => "yes", "enable_json" => "yes" @@ -32,8 +28,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 +56,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