X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=gen_travis_yml.php;h=0b80403d65059652c4d3294f7547ff0696d42d90;hp=44f45b6ede52490d9d04569caf33f3180e371f94;hb=c238dbcc19c5c445d0b1f2a66b2212bb95df7673;hpb=fc5029914846ac0f828132ca1cb5a170af79bd9b diff --git a/gen_travis_yml.php b/gen_travis_yml.php index 44f45b6..0b80403 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", "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