4c21d6afb1b04bc246f84fcf86bb34eba9ebc8a1
[m6w6/ext-psi] / scripts / gen_travis_yml.php
1 #!/usr/bin/env php
2 # autogenerated file; do not edit
3 language: c
4 sudo: required
5 dist: trusty
6
7 addons:
8 apt:
9 packages:
10 - php5-cli
11 - php-pear
12 - valgrind
13 - re2c
14 - libidn11-dev
15 - libsqlite3-dev
16
17 env:
18 matrix:
19 <?php
20
21 $gen = include __DIR__."/../travis/pecl/gen-matrix.php";
22 $env = $gen([
23 "PHP" => ["master"],
24 "enable_debug",
25 #"enable_maintainer_zts",
26 "enable_psi" => ["yes"],
27 "enable_psi_posix" => ["all"],
28 ]);
29 foreach ($env as $e) {
30 printf(" - %s\n", $e);
31 }
32
33 ?>
34
35 before_script:
36 - make -f travis/pecl/Makefile php
37 - make -f travis/pecl/Makefile ext PECL=psi
38
39 script:
40 - make -f travis/pecl/Makefile test
41
42 after_failure:
43 - cat config.log | curl -F 'sprunge=<-' http://sprunge.us
44 - cat tests/parser/dump001.psi
45 - ldd .libs/psi.so