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([
|
2015-12-07 19:53:48 +01:00
|
|
|
"PHP" => ["7.0", "master"],
|
2015-07-30 17:37:28 +02:00
|
|
|
"enable_debug",
|
|
|
|
"enable_maintainer_zts",
|
|
|
|
"enable_json",
|
|
|
|
]);
|
|
|
|
foreach ($env as $e) {
|
|
|
|
printf(" - %s\n", $e);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- make -f travis/pecl/Makefile php
|
2016-01-19 13:59:09 +01:00
|
|
|
- make -f travis/pecl/Makefile pecl PECL=raphf:raphf:2.0.0
|
2015-08-17 16:57:23 +02:00
|
|
|
- make -f travis/pecl/Makefile ext PECL=pq
|
2015-07-30 19:09:13 +02:00
|
|
|
- psql -U postgres -c "CREATE DATABASE test"
|
2015-07-30 17:37:28 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
- make -f travis/pecl/Makefile test
|
|
|
|
|
|
|
|
sudo: false
|