X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=.travis.yml;h=f910f11fbef364f0a3ef867cc6b72d0750ffb0c9;hp=14c5e7e3e43cba066eb6832d0252bc0d3e8a6da1;hb=c42b1975b4e9de8abac3a1b20985d0851a85865f;hpb=aefbfa4e6ff7d68b01cca8b746b56c6570ffe576 diff --git a/.travis.yml b/.travis.yml index 14c5e7e..f910f11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,14 +16,18 @@ compiler: 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.3 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 @@ -33,7 +37,12 @@ env: - PHP=7.2 enable_json=yes CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage' 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: