X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-apfd;a=blobdiff_plain;f=gen_travis_yml.php;h=d28416e0a0d8ffb23a580e1aec4ef63a10bedc2b;hp=9d5ec840d18191a26d8a7fa990231d20a361bb2a;hb=41a7569b67bcd31c93f4e696f8f49f3e44f5648a;hpb=8b165391bf89dc424b19280caef79a1ce9f86b2f diff --git a/gen_travis_yml.php b/gen_travis_yml.php index 9d5ec84..d28416e 100755 --- a/gen_travis_yml.php +++ b/gen_travis_yml.php @@ -2,36 +2,36 @@ # 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"], "enable_debug" => "yes", "enable_maintainer_zts" => "yes", +],[ + "PHP" => ["8.0", "master"], + "enable_debug" => "yes", + "enable_zts" => "yes", ], [ "PHP" => $cur, "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