update doc links
[m6w6/ext-pq] / .travis.yml
index af263d067439cbf5d1ec7ea3891df3e6a6fad583..afeaa5c8cf541324c10031b98cf6153dd205a31e 100644 (file)
@@ -6,6 +6,7 @@ addons:
  apt:
   packages:
    - php5-cli
+   - php-pear
 
 env:
  global:
@@ -39,9 +40,10 @@ env:
 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