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

36 lines
1.0 KiB
YAML
Raw Normal View History

2014-12-14 15:37:43 +01:00
language: c
addons:
postgresql: "9.3"
2014-12-16 16:35:46 +01:00
env:
global:
- BUILD_SRC_DIR=/src
- BUILD_INSTALL_DIR=/install
- PHP_EXTENSIONS="--enable-json --with-mhash"
- PG_TEST_DB_NAME=pq_test
- PG_TEST_DB_USER=postgres
- REPORT_EXIT_STATUS=1
matrix:
- PHP_TARGET_REF=PHP-5.4 PHP_CONFIGURE_OPTS=""
- PHP_TARGET_REF=PHP-5.4 PHP_CONFIGURE_OPTS="--enable-maintainer-zts"
- PHP_TARGET_REF=PHP-5.5 PHP_CONFIGURE_OPTS=""
- PHP_TARGET_REF=PHP-5.5 PHP_CONFIGURE_OPTS="--enable-maintainer-zts"
- PHP_TARGET_REF=PHP-5.6 PHP_CONFIGURE_OPTS=""
- PHP_TARGET_REF=PHP-5.6 PHP_CONFIGURE_OPTS="--enable-maintainer-zts"
2014-12-14 15:37:43 +01:00
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libpq-dev
before_script:
2014-12-16 16:35:46 +01:00
- ./travis/compile-php.sh
- ./travis/compile-ext-raphf.sh
- ./travis/compile-ext-pq.sh
- ./travis/configure-postgres.sh
2014-12-14 15:37:43 +01:00
script:
2014-12-16 16:35:46 +01:00
- $HOME$BUILD_INSTALL_DIR/bin/php ./run-tests.php -q -p $HOME$BUILD_INSTALL_DIR/bin/php --show-diff
2015-07-27 10:22:24 +02:00
sudo: false