X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=gen_travis_yml.php;h=a20d98388e6991846986e1d85873c3da37b4e5a0;hp=0e06a810bb91a6c2aa16d8f1e60f309a3ef87b54;hb=7910a40d7768bdfcf92a6fb8d194a52518cd7c5e;hpb=ee1c068bfa56b56d82e61d9e5fde017d3003817f diff --git a/gen_travis_yml.php b/gen_travis_yml.php index 0e06a81..a20d983 100755 --- a/gen_travis_yml.php +++ b/gen_travis_yml.php @@ -7,6 +7,7 @@ addons: apt: packages: - php5-cli + - php-pear env: global: @@ -16,11 +17,10 @@ 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"], ]); foreach ($env as $e) { printf(" - %s\n", $e); @@ -30,8 +30,9 @@ 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=raphf:raphf:2.0.0 - make -f travis/pecl/Makefile ext PECL=pq + - psql -U postgres -c "CREATE DATABASE test" script: - make -f travis/pecl/Makefile test