update travis-pecl
[m6w6/ext-pq] / gen_travis_yml.php
index 87b025d4372db6c623117bf56f371848be47f058..d579da1e7d2b0df7ba943ff90e6eae6e9e64e8f2 100755 (executable)
@@ -17,11 +17,13 @@ env:
 
 $gen = include "./travis/pecl/gen-matrix.php";
 $env = $gen([
-       "PHP" => ["5.4", "5.5", "5.6"],
+       "PHP" => ["7.0", "master"],
        "enable_debug",
        "enable_maintainer_zts",
        "enable_json",
        "enable_hash" => ["yes"],
+       "enable_phar" => ["yes"],
+       "enable_posix" => ["yes"]
 ]);
 foreach ($env as $e) {
        printf("  - %s\n", $e);
@@ -31,11 +33,11 @@ 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 pharext/raphf-master
+ - make -f travis/pecl/Makefile ext PECL=pq
  - psql -U postgres -c "CREATE DATABASE test"
 
 script:
- - make -f travis/pecl/Makefile ext PECL=pq
  - make -f travis/pecl/Makefile test
 
 sudo: false