X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=gen_travis_yml.php;h=8fa4e579443e0ff1ca9bafdc184db3b9565d34af;hp=44f45b6ede52490d9d04569caf33f3180e371f94;hb=c4e41f13aea0c8927e5f88ea5602150f87041164;hpb=fc5029914846ac0f828132ca1cb5a170af79bd9b diff --git a/gen_travis_yml.php b/gen_travis_yml.php index 44f45b6..8fa4e57 100755 --- a/gen_travis_yml.php +++ b/gen_travis_yml.php @@ -2,31 +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.4", "5.5", "5.6"], - "enable_debug" => "yes", - "enable_json" => "yes" -], [ - "PHP" => ["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" @@ -36,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" ]); @@ -64,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