Merge branch 'gitter-badge' of https://github.com/gitter-badger/ext-http
[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" => ["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 pharext/raphf-master pharext/propro-master
38
39 script:
40 - make -f travis/pecl/Makefile ext PECL=http
41 - make -f travis/pecl/Makefile test
42
43 after_script:
44 - test -e tests/helper/server.log && cat tests/helper/server.log
45
46 sudo: false
47 notifications:
48 webhooks:
49 urls:
50 - https://webhooks.gitter.im/e/28d35158ac7e385bd14d
51 on_success: change
52 on_failure: always
53 on_start: never