X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=.travis.yml;h=0b83e5b9f2ecd22b946376fb7eaac39bc891961c;hp=14c5e7e3e43cba066eb6832d0252bc0d3e8a6da1;hb=9dfcccaad554c8e3ddeb9d2635e2faf09425282e;hpb=aefbfa4e6ff7d68b01cca8b746b56c6570ffe576 diff --git a/.travis.yml b/.travis.yml index 14c5e7e..0b83e5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,30 +10,42 @@ addons: - php-pear - valgrind -compiler: - - gcc - - clang - cache: directories: - - $HOME/build - + - $HOME/cache + +before_cache: + - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete + env: global: - PQ_DSN="postgres://postgres@localhost/test" matrix: - 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.2 enable_json=no - - PHP=7.2 enable_json=yes enable_debug=no enable_maintainer_zts=no - - PHP=7.2 enable_json=yes enable_debug=yes enable_maintainer_zts=no - - PHP=7.2 enable_json=yes enable_debug=no enable_maintainer_zts=yes - - PHP=7.2 enable_json=yes enable_debug=yes enable_maintainer_zts=yes - - PHP=7.2 enable_json=yes CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' + - PHP=7.3 enable_json=no + - PHP=7.3 enable_json=yes enable_debug=no enable_maintainer_zts=no + - PHP=7.3 enable_json=yes enable_debug=yes enable_maintainer_zts=no + - PHP=7.3 enable_json=yes enable_debug=no enable_maintainer_zts=yes + - PHP=7.3 enable_json=yes enable_debug=yes enable_maintainer_zts=yes + - PHP=7.3 enable_json=yes CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' + +matrix: + fast_finish: true + allow_failures: + - env: PHP=7.4 enable_debug=yes enable_maintainer_zts=yes enable_json=yes + - env: PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes install: - - make -f travis/pecl/Makefile php + - | + if test "$PHP" = master; then \ + make -f travis/pecl/Makefile reconf; \ + make -f travis/pecl/Makefile pecl-rm pecl-clean PECL=raphf:raphf:2.0.0; \ + fi + - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean php - make -f travis/pecl/Makefile pecl PECL=raphf:raphf:2.0.0 before_script: