coverity fixes
[m6w6/ext-http] / scripts / gen_travis_yml.php
index 60dbc6aa00126bf13e5a774e09d2abd20023f02f..311a4cd000afa5edccef34ab7e1bdcf7349e6bdb 100755 (executable)
@@ -17,14 +17,12 @@ env:
 
 $gen = include "./travis/pecl/gen-matrix.php";
 $env = $gen([
-       "PHP" => ["master"],
+       "PHP" => ["7.0", "master"],
        "enable_debug",
        "enable_maintainer_zts",
        "enable_json",
        "enable_hash" => ["yes"],
        "enable_iconv" => ["yes"],
-       "enable_phar" => ["yes"],
-       "enable_posix" => ["yes"]
 ]);
 foreach ($env as $e) {
        printf(" - %s\n", $e);
@@ -34,13 +32,21 @@ foreach ($env as $e) {
 
 before_script:
  - make -f travis/pecl/Makefile php
- - make -f travis/pecl/Makefile pharext/raphf-phpng pharext/propro-phpng
+ - make -f travis/pecl/Makefile pecl PECL=raphf:raphf:2.0.0
+ - make -f travis/pecl/Makefile pecl PECL=propro:propro:2.0.1
+ - make -f travis/pecl/Makefile ext PECL=http
 
 script:
- - make -f travis/pecl/Makefile ext PECL=http
  - make -f travis/pecl/Makefile test
 
 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