mirror of
https://github.com/danog/ext-pq.git
synced 2024-12-11 08:59:45 +01:00
42 lines
692 B
PHP
Executable File
42 lines
692 B
PHP
Executable File
#!/usr/bin/env php
|
|
# autogenerated file; do not edit
|
|
language: c
|
|
|
|
addons:
|
|
postgresql: 9.4
|
|
apt:
|
|
packages:
|
|
- php5-cli
|
|
- php-pear
|
|
|
|
env:
|
|
global:
|
|
- PQ_DSN="postgres://postgres@localhost/test"
|
|
matrix:
|
|
<?php
|
|
|
|
$gen = include "./travis/pecl/gen-matrix.php";
|
|
$env = $gen([
|
|
"PHP" => ["master"],
|
|
"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
|
|
- make -f travis/pecl/Makefile pecl PECL=raphf
|
|
- psql -U postgres -c "CREATE DATABASE test"
|
|
|
|
script:
|
|
- make -f travis/pecl/Makefile ext PECL=pq
|
|
- make -f travis/pecl/Makefile test
|
|
|
|
sudo: false
|