2015-07-30 17:37:28 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
# autogenerated file; do not edit
|
|
|
|
language: c
|
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: 9.4
|
2015-07-30 17:44:00 +02:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- php5-cli
|
2015-07-31 13:52:02 +02:00
|
|
|
- php-pear
|
2015-07-30 17:37:28 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- PQ_DSN="postgres://postgres@localhost/test"
|
|
|
|
matrix:
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$gen = include "./travis/pecl/gen-matrix.php";
|
|
|
|
$env = $gen([
|
|
|
|
"PHP" => ["5.4", "5.5", "5.6"],
|
|
|
|
"enable_debug",
|
|
|
|
"enable_maintainer_zts",
|
|
|
|
"enable_json",
|
|
|
|
"enable_hash" => ["yes"],
|
|
|
|
]);
|
|
|
|
foreach ($env as $e) {
|
|
|
|
printf(" - %s\n", $e);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- make -f travis/pecl/Makefile php
|
2015-12-07 11:24:17 +01:00
|
|
|
- make -f travis/pecl/Makefile pecl PECL=raphf:raphf:1.1.1RC1
|
2015-07-30 19:09:13 +02:00
|
|
|
- psql -U postgres -c "CREATE DATABASE test"
|
2015-07-30 17:37:28 +02:00
|
|
|
|
|
|
|
script:
|
2015-07-30 21:10:21 +02:00
|
|
|
- make -f travis/pecl/Makefile ext PECL=pq
|
2015-07-30 17:37:28 +02:00
|
|
|
- make -f travis/pecl/Makefile test
|
|
|
|
|
|
|
|
sudo: false
|