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