X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=gen_travis_yml.php;h=19240beae037462f17f222421f2acbc2f60317aa;hp=2fcd6ac8f10ef618f67239fb4360a353428d0d67;hb=e381164032a750583657e449875f62d52b7b6609;hpb=fec45d47cca0e7327b0586bec61dcf769b18e279 diff --git a/gen_travis_yml.php b/gen_travis_yml.php index 2fcd6ac..19240be 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,13 @@ 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_phar" => ["yes"], + "enable_posix" => ["yes"] ]); foreach ($env as $e) { printf(" - %s\n", $e); @@ -30,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-phpng + - 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