fix doc links
[m6w6/ext-pq] / gen_travis_yml.php
index 0e06a810bb91a6c2aa16d8f1e60f309a3ef87b54..87b025d4372db6c623117bf56f371848be47f058 100755 (executable)
@@ -7,6 +7,7 @@ addons:
  apt:
   packages:
    - php5-cli
+   - php-pear
 
 env:
  global:
@@ -31,9 +32,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