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