now we're brave!
[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
8 env:
9 global:
10 - PQ_DSN="postgres://postgres@localhost/test"
11 matrix:
12 <?php
13
14 $gen = include "./travis/pecl/gen-matrix.php";
15 $env = $gen([
16 "PHP" => ["5.4", "5.5", "5.6"],
17 "enable_debug",
18 "enable_maintainer_zts",
19 "enable_json",
20 "enable_hash" => ["yes"],
21 ]);
22 foreach ($env as $e) {
23 printf(" - %s\n", $e);
24 }
25
26 ?>
27
28 before_script:
29 - make -f travis/pecl/Makefile php
30 - make -f travis/pecl/Makefile pecl PECL=raphf
31 - make -f travis/pecl/Makefile ext PECL=pq
32
33 script:
34 - make -f travis/pecl/Makefile test
35
36 sudo: false