1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-26 20:04:44 +01:00
ext-pq/.travis.yml
Michael Wallner add042bd76 that didn't work out as intended
As testing against different server versions doesn't make much sense
when not also using the respective libpq version, we'll just test
against the most current.
2015-07-29 13:18:27 +02:00

63 lines
2.1 KiB
YAML

# autogenerated file; do not edit
language: c
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:
include:
- env: PHP_TARGET_REF="PHP-5.4" PHP_CONFIGURE_OPTS=""
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.4" PHP_CONFIGURE_OPTS="--enable-debug"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.4" PHP_CONFIGURE_OPTS="--enable-maintainer-zts"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.4" PHP_CONFIGURE_OPTS="--enable-debug --enable-maintainer-zts"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.5" PHP_CONFIGURE_OPTS=""
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.5" PHP_CONFIGURE_OPTS="--enable-debug"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.5" PHP_CONFIGURE_OPTS="--enable-maintainer-zts"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.5" PHP_CONFIGURE_OPTS="--enable-debug --enable-maintainer-zts"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.6" PHP_CONFIGURE_OPTS=""
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.6" PHP_CONFIGURE_OPTS="--enable-debug"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.6" PHP_CONFIGURE_OPTS="--enable-maintainer-zts"
addons:
postgresql: 9.4
- env: PHP_TARGET_REF="PHP-5.6" PHP_CONFIGURE_OPTS="--enable-debug --enable-maintainer-zts"
addons:
postgresql: 9.4
before_script:
- ./travis/compile-php.sh
- ./travis/compile-ext-raphf.sh
- ./travis/compile-ext-pq.sh
- ./travis/configure-postgres.sh
- $HOME$BUILD_INSTALL_DIR/bin/php --ri pq
script:
- $HOME$BUILD_INSTALL_DIR/bin/php ./run-tests.php -q -p $HOME$BUILD_INSTALL_DIR/bin/php --show-diff
sudo: false