X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=.travis.yml;h=b662d6314e3241d285103889096dff0235677c04;hp=0de97215cd8ce8d61eaf2ec00a1bb484badddd59;hb=5e5879a62292d26f7486eec434617e7427ab3165;hpb=17cfe270aab78617e24c045c106cb0f1d43b1406 diff --git a/.travis.yml b/.travis.yml index 0de9721..b662d63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,32 +1,42 @@ # autogenerated file; do not edit language: c +sudo: false +dist: xenial addons: apt: packages: - - php5-cli + - php-cli - php-pear + - valgrind env: matrix: - - PHP=5.4 enable_debug=no enable_maintainer_zts=no enable_json=yes - - PHP=5.5 enable_debug=no enable_maintainer_zts=no enable_json=yes - - PHP=5.6 enable_debug=no enable_maintainer_zts=no enable_json=yes - - PHP=5.4 enable_debug=yes enable_maintainer_zts=no enable_json=yes - - PHP=5.5 enable_debug=yes enable_maintainer_zts=no enable_json=yes - - PHP=5.6 enable_debug=yes enable_maintainer_zts=no enable_json=yes - - PHP=5.4 enable_debug=no enable_maintainer_zts=yes enable_json=yes - - PHP=5.5 enable_debug=no enable_maintainer_zts=yes enable_json=yes - - PHP=5.6 enable_debug=no enable_maintainer_zts=yes enable_json=yes - - PHP=5.4 enable_debug=yes enable_maintainer_zts=yes enable_json=yes - - PHP=5.5 enable_debug=yes enable_maintainer_zts=yes enable_json=yes - PHP=5.6 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.1 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.2 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.4 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - PHP=7.3 enable_debug=no enable_maintainer_zts=no enable_json=yes + - PHP=7.3 enable_debug=yes enable_maintainer_zts=no enable_json=yes + - PHP=7.3 enable_debug=no enable_maintainer_zts=yes enable_json=yes + - PHP=7.3 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' PHP=7.3 enable_json=yes + +cache: + directories: + - $HOME/cache -before_script: +before_cache: + - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete + +install: - make -f travis/pecl/Makefile php script: - make -f travis/pecl/Makefile ext PECL=json_post - make -f travis/pecl/Makefile test -sudo: false +after_success: + - test -n "$CFLAGS" && cd .libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy