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:
|
|
|
|
- php5-cli
|
2015-07-31 14:50:06 +02:00
|
|
|
- php-pear
|
2017-09-04 15:34:42 +02:00
|
|
|
- valgrind
|
2015-07-29 09:12:49 +02:00
|
|
|
|
2018-03-02 17:01:54 +01:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2018-03-02 17:03:02 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-03-02 21:20:05 +01:00
|
|
|
- $HOME/cache
|
2018-03-02 17:03:02 +01:00
|
|
|
|
2015-07-30 17:37:28 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- PQ_DSN="postgres://postgres@localhost/test"
|
|
|
|
matrix:
|
2016-01-19 14:24:54 +01:00
|
|
|
- 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
|
2016-01-19 14:24:54 +01:00
|
|
|
- PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
2018-03-02 17:01:54 +01:00
|
|
|
- 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'
|
2014-12-16 16:35:46 +01:00
|
|
|
|
2018-03-02 17:01:54 +01:00
|
|
|
install:
|
2015-07-30 17:37:28 +02:00
|
|
|
- make -f travis/pecl/Makefile 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
|