guess sh doesn't like those redirects
[m6w6/ext-pq] / gen_travis_yml.php
1 #!/usr/bin/env php
2 # autogenerated file; do not edit
3 language: c
4
5 addons:
6 postgresql: 9.4
7 apt:
8 packages:
9 - php5-cli
10
11 env:
12 global:
13 - PQ_DSN="postgres://postgres@localhost/test"
14 matrix:
15 <?php
16
17 $gen = include "./travis/pecl/gen-matrix.php";
18 $env = $gen([
19 "PHP" => ["5.4", "5.5", "5.6"],
20 "enable_debug",
21 "enable_maintainer_zts",
22 "enable_json",
23 "enable_hash" => ["yes"],
24 ]);
25 foreach ($env as $e) {
26 printf(" - %s\n", $e);
27 }
28
29 ?>
30
31 before_script:
32 - make -f travis/pecl/Makefile php
33 - make -f travis/pecl/Makefile pecl PECL=raphf
34 - make -f travis/pecl/Makefile ext PECL=pq
35
36 script:
37 - make -f travis/pecl/Makefile test
38
39 sudo: false