X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=gen_travis_yml.php;h=a20d98388e6991846986e1d85873c3da37b4e5a0;hp=84731594a2327155007d165c65de1fca0903d54c;hb=b923138c5e2bc8ad818387ad587166489848b00a;hpb=8b7efa3deb0215c2af0de4a990dc97be952f7f53 diff --git a/gen_travis_yml.php b/gen_travis_yml.php index 8473159..a20d983 100755 --- a/gen_travis_yml.php +++ b/gen_travis_yml.php @@ -4,6 +4,10 @@ language: c addons: postgresql: 9.4 + apt: + packages: + - php5-cli + - php-pear env: global: @@ -13,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); @@ -27,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