fix travis
[m6w6/ext-pq] / .travis.yml
index af263d067439cbf5d1ec7ea3891df3e6a6fad583..2a78ddae318796bd7ca0cd638050f63b545d9f31 100644 (file)
@@ -6,6 +6,7 @@ addons:
  apt:
   packages:
    - php5-cli
+   - php-pear
 
 env:
  global:
@@ -38,10 +39,11 @@ 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
+ - make -f travis/pecl/Makefile pecl PECL=raphf:raphf:1.1.1RC1
+ - psql -U postgres -c "CREATE DATABASE test"
 
 script:
+ - make -f travis/pecl/Makefile ext PECL=pq
  - make -f travis/pecl/Makefile test
 
 sudo: false