[config.w32] Warn that propro was discontinued
[m6w6/ext-propro] / scripts / gen_travis_yml.php
1 #!/usr/bin/env php
2 # autogenerated file; do not edit
3 language: c
4
5 addons:
6 apt:
7 packages:
8 - php-cli
9 - php-pear
10
11 env:
12 <?php
13 $gen = include "./travis/pecl/gen-matrix.php";
14 $cur = "7.4";
15 $env = $gen([
16 "PHP" => ["7.0", "7.1", "7.2", "7.3"],
17 "enable_debug" => "yes",
18 "enable_maintainer_zts" => "yes",
19 "enable_json" => "yes",
20 ], [
21 "PHP" => $cur,
22 "enable_json" => "yes",
23 "enable_debug",
24 "enable_maintainer_zts"
25 ], [
26 "PHP" => $cur,
27 "enable_json" => "yes",
28 "CFLAGS" => "'-O0 -g --coverage'",
29 "CXXFLAGS" => "'-O0 -g --coverage'",
30 ]);
31
32 foreach ($env as $g) {
33 foreach ($g as $e) {
34 printf(" - %s\n", $e);
35 }
36 }
37 ?>
38
39 before_script:
40 - make -f travis/pecl/Makefile php
41 - make -f travis/pecl/Makefile ext PECL=propro
42
43 script:
44 - make -f travis/pecl/Makefile test
45
46 after_success:
47 - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy