Merge branch 'v2.6.x'
[m6w6/ext-http] / 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 - php5-cli
9 - php-pear
10 - libcurl4-openssl-dev
11 - zlib1g-dev
12 - libidn11-dev
13 - libevent-dev
14
15 env:
16 <?php
17
18 $gen = include "./travis/pecl/gen-matrix.php";
19 $env = $gen([
20 "PHP" => ["7.0", "master"],
21 "enable_debug",
22 "enable_maintainer_zts",
23 "enable_json",
24 "enable_hash" => ["yes"],
25 "enable_iconv" => ["yes"],
26 "enable_phar" => ["yes"],
27 "enable_posix" => ["yes"]
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 pecl PECL=raphf:raphf:2.0.0
38 - make -f travis/pecl/Makefile pecl PECL=propro:propro:2.0.1
39 - make -f travis/pecl/Makefile ext PECL=http
40
41 script:
42 - make -f travis/pecl/Makefile test
43
44 after_script:
45 - test -e tests/helper/server.log && cat tests/helper/server.log
46
47 sudo: false
48 notifications:
49 webhooks:
50 urls:
51 - https://webhooks.gitter.im/e/28d35158ac7e385bd14d
52 on_success: change
53 on_failure: always
54 on_start: never