mirror of
https://github.com/danog/ext-pq.git
synced 2024-11-26 20:04:44 +01:00
2d5c925337
travis lint is not of big help here, because it seems pretty outdated...
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
language: c
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libpq-dev
|
|
|
|
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"
|
|
|
|
matrix:
|
|
include:
|
|
- addons:
|
|
postgresql: 9.1
|
|
- addons:
|
|
postgresql: 9.2
|
|
- addons:
|
|
postgresql: 9.3
|
|
- addons:
|
|
postgresql: 9.4
|
|
|
|
before_script:
|
|
- ./travis/compile-php.sh
|
|
- ./travis/compile-ext-raphf.sh
|
|
- ./travis/compile-ext-pq.sh
|
|
- ./travis/configure-postgres.sh
|
|
|
|
script:
|
|
- $HOME$BUILD_INSTALL_DIR/bin/php ./run-tests.php -q -p $HOME$BUILD_INSTALL_DIR/bin/php --show-diff
|
|
|
|
sudo: false
|