be more strict on hostname layout
[m6w6/ext-http] / 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.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
36 - make -f travis/pecl/Makefile pecl PECL=propro
37
38 script:
39 - make -f travis/pecl/Makefile ext PECL=http
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