administrativa
[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" => ["5.3", "5.4", "5.5", "5.6"],
21 "enable_debug",
22 "enable_maintainer_zts",
23 "enable_json",
24 "enable_hash" => ["yes"],
25 "enable_iconv" => ["yes"]
26 ]);
27 foreach ($env as $e) {
28 printf(" - %s\n", $e);
29 }
30
31 ?>
32
33 before_script:
34 - make -f travis/pecl/Makefile php
35 - make -f travis/pecl/Makefile pecl PECL=raphf:raphf:1.1.1
36 - make -f travis/pecl/Makefile pecl PECL=propro:propro:1.0.2
37 - make -f travis/pecl/Makefile ext PECL=http
38
39 script:
40 - make -f travis/pecl/Makefile test
41
42 after_script:
43 - test -e tests/helper/server.log && cat tests/helper/server.log
44
45 sudo: false
46 notifications:
47 webhooks:
48 urls:
49 - https://webhooks.gitter.im/e/28d35158ac7e385bd14d
50 on_success: change
51 on_failure: always
52 on_start: never