mirror of
https://github.com/php/pecl-search_engine-solr.git
synced 2026-03-23 22:52:07 +01:00
72 lines
2.6 KiB
YAML
72 lines
2.6 KiB
YAML
# file generated by gen_travis_yml.php, do not edit!
|
|
|
|
# use the container infrastructure
|
|
sudo: required
|
|
|
|
services:
|
|
- docker
|
|
|
|
language: c
|
|
|
|
before_install:
|
|
# What is the current file size max for core files?
|
|
# It is usually 0, which means no core file will be dumped if there is a crash
|
|
- ulimit -c
|
|
- ulimit -a -S
|
|
- ulimit -a -H
|
|
- cat /proc/sys/kernel/core_pattern
|
|
- cat /etc/default/apport
|
|
- service --status-all || true
|
|
- initctl list || true
|
|
|
|
# use the system's PHP to run this script
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- php7.0-cli
|
|
- php-pear
|
|
- libxml2-dev
|
|
- libcurl4-gnutls-dev
|
|
- lcov
|
|
|
|
install:
|
|
- gem install lcoveralls
|
|
|
|
# now we'll specify the build matrix environment
|
|
env:
|
|
- PHP=7.2.31 enable_debug=no enable_maintainer_zts=no enable_libxml=yes enable_json=yes
|
|
- PHP=7.3.19 enable_debug=no enable_maintainer_zts=no enable_libxml=yes enable_json=yes
|
|
- PHP=7.4.7 enable_debug=no enable_maintainer_zts=no with_libxml=yes enable_json=yes
|
|
- PHP=7.2.31 enable_debug=yes enable_maintainer_zts=no enable_libxml=yes enable_json=yes
|
|
- PHP=7.3.19 enable_debug=yes enable_maintainer_zts=no enable_libxml=yes enable_json=yes
|
|
- PHP=7.4.7 enable_debug=yes enable_maintainer_zts=no with_libxml=yes enable_json=yes
|
|
- PHP=7.2.31 enable_debug=no enable_maintainer_zts=yes enable_libxml=yes enable_json=yes
|
|
- PHP=7.3.19 enable_debug=no enable_maintainer_zts=yes enable_libxml=yes enable_json=yes
|
|
- PHP=7.4.7 enable_debug=no enable_maintainer_zts=yes with_libxml=yes enable_json=yes
|
|
- PHP=7.2.31 enable_debug=yes enable_maintainer_zts=yes enable_libxml=yes enable_json=yes
|
|
- PHP=7.3.19 enable_debug=yes enable_maintainer_zts=yes enable_libxml=yes enable_json=yes
|
|
- PHP=7.4.7 enable_debug=yes enable_maintainer_zts=yes with_libxml=yes enable_json=yes
|
|
|
|
before_script:
|
|
# build the matrix' PHP version
|
|
- make -f travis/pecl/Makefile php
|
|
# build the extension, the PECL variable expects the extension name
|
|
# and optionally the soname and a specific version of the extension
|
|
# separeated by double colon, e.g. PECL=myext:ext:1.7.5
|
|
- make -f travis/pecl/Makefile ext PECL=solr
|
|
- docker pull omars/solr53
|
|
- docker run -d --name solr53 -p 127.0.0.1:8983:8983 -t omars/solr53
|
|
- sleep 5
|
|
- lcov --directory . -f --zerocounters && lcov --directory . -f --capture --initial --no-external --output-file coverage.info
|
|
|
|
script:
|
|
- make -f travis/pecl/Makefile test
|
|
|
|
after_script:
|
|
- lcov --no-checksum --directory . -f --capture --output-file coverage.info && lcov -f --remove coverage.info "/usr/*" -o coverage.info
|
|
- lcoveralls -r .
|
|
|
|
notifications:
|
|
email:
|
|
- omars@php.net
|