Merge branch 'gitter-badge' of https://github.com/gitter-badger/ext-http
[m6w6/ext-http] / scripts / gen_travis_yml.php
index 89ab0b208b9b9e0883f271508cf419e7d93080da..e42ec312b66e0a1b46f5388d80893c31cb3c4101 100755 (executable)
@@ -17,12 +17,14 @@ env:
 
 $gen = include "./travis/pecl/gen-matrix.php";
 $env = $gen([
-       "PHP" => ["5.4", "5.5", "5.6"],
+       "PHP" => ["master"],
        "enable_debug",
        "enable_maintainer_zts",
        "enable_json",
        "enable_hash" => ["yes"],
-       "enable_iconv" => ["yes"]
+       "enable_iconv" => ["yes"],
+       "enable_phar" => ["yes"],
+       "enable_posix" => ["yes"]
 ]);
 foreach ($env as $e) {
        printf(" - %s\n", $e);
@@ -32,8 +34,7 @@ foreach ($env as $e) {
 
 before_script:
  - make -f travis/pecl/Makefile php
- - make -f travis/pecl/Makefile pecl PECL=raphf
- - make -f travis/pecl/Makefile pecl PECL=propro
+ - make -f travis/pecl/Makefile pharext/raphf-master pharext/propro-master
 
 script:
  - make -f travis/pecl/Makefile ext PECL=http
@@ -43,3 +44,10 @@ after_script:
  - test -e tests/helper/server.log && cat tests/helper/server.log
 
 sudo: false
+notifications:
+ webhooks:
+  urls:
+   - https://webhooks.gitter.im/e/28d35158ac7e385bd14d
+  on_success: change
+  on_failure: always
+  on_start: never