add travis support
[m6w6/ext-psi] / scripts / gen_travis_yml.php
1 #!/usr/bin/env php
2 # autogenerated file; do not edit
3 language: c
4 sudo: false
5
6 addons:
7 apt:
8 packages:
9 - php5-cli
10 - php-pear
11
12 env:
13 matrix:
14 <?php
15
16 $gen = include __DIR__."/../travis/pecl/gen-matrix.php";
17 $env = $gen([
18 "PHP" => ["7.0", "master"],
19 "enable_debug",
20 #"enable_maintainer_zts",
21 "enable_psi" => ["yes"],
22 "enable_psi_posix" => ["all"]
23 ]);
24 foreach ($env as $e) {
25 printf(" - %s\n", $e);
26 }
27
28 ?>
29
30 before_script:
31 - make -f travis/pecl/Makefile php
32 - make -f travis/pecl/Makefile ext PECL=psi
33
34 script:
35 - make -f travis/pecl/Makefile test
36