fix warning
[m6w6/ext-pq] / gen_travis_yml.php
index 84731594a2327155007d165c65de1fca0903d54c..a96a3384ee68a45d98d72faf3d6debe69977a2f8 100755 (executable)
@@ -4,6 +4,10 @@ language: c
 
 addons:
  postgresql: 9.4
+ apt:
+  packages:
+   - php5-cli
+   - php-pear
 
 env:
  global:
@@ -27,8 +31,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:1.1.2
  - make -f travis/pecl/Makefile ext PECL=pq
+ - psql -U postgres -c "CREATE DATABASE test"
 
 script:
  - make -f travis/pecl/Makefile test