1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-30 04:19:49 +01:00
ext-pq/.travis.yml

59 lines
1.7 KiB
YAML
Raw Normal View History

2015-07-29 11:18:23 +02:00
# autogenerated file; do not edit
2014-12-14 15:37:43 +01:00
language: c
2018-03-02 17:01:54 +01:00
sudo: false
2014-12-14 15:37:43 +01:00
2015-07-30 17:37:28 +02:00
addons:
postgresql: 9.4
2015-07-30 17:44:00 +02:00
apt:
packages:
2019-08-02 10:58:21 +02:00
- php-cli
2015-07-31 14:50:06 +02:00
- php-pear
- valgrind
2018-03-02 17:03:02 +01:00
cache:
directories:
2018-03-02 21:20:05 +01:00
- $HOME/cache
2018-03-05 16:52:52 +01:00
before_cache:
- find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
2015-07-30 17:37:28 +02:00
env:
global:
- PQ_DSN="postgres://postgres@localhost/test"
matrix:
- PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
2016-11-14 17:47:14 +01:00
- PHP=7.1 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
2019-03-04 07:38:56 +01:00
- PHP=7.2 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
2019-12-04 17:45:33 +01:00
- 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
2019-12-04 17:45:33 +01:00
- PHP=7.4 enable_json=no
- PHP=7.4 enable_json=yes enable_debug=no enable_maintainer_zts=no
- PHP=7.4 enable_json=yes enable_debug=yes enable_maintainer_zts=no
- PHP=7.4 enable_json=yes enable_debug=no enable_maintainer_zts=yes
- PHP=7.4 enable_json=yes enable_debug=yes enable_maintainer_zts=yes
- PHP=7.4 enable_json=yes CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage'
2019-03-04 07:38:56 +01:00
matrix:
fast_finish: true
allow_failures:
- env: PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes
2014-12-16 16:35:46 +01:00
2018-03-02 17:01:54 +01:00
install:
2018-07-19 13:26:45 +02:00
- |
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
2016-01-19 14:01:34 +01:00
- make -f travis/pecl/Makefile pecl PECL=raphf:raphf:2.0.0
2018-03-02 17:01:54 +01:00
before_script:
2015-07-30 19:09:13 +02:00
- psql -U postgres -c "CREATE DATABASE test"
2014-12-14 15:37:43 +01:00
script:
2018-03-02 17:01:54 +01:00
- make -f travis/pecl/Makefile ext PECL=pq
2015-07-30 17:37:28 +02:00
- make -f travis/pecl/Makefile test
2015-07-27 10:25:48 +02:00
2018-03-02 17:01:54 +01:00
after_success:
- test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy