fix PHP-5.4 build
[m6w6/ext-pq] / .travis.yml
index 1e86baab2ea3993522c9c215fec8f751e74518a2..130a777bc708da9490e6050a733f7b9d20d85938 100644 (file)
@@ -6,6 +6,7 @@ addons:
  apt:
   packages:
    - php5-cli
+   - php-pear
 
 env:
  global:
@@ -38,11 +39,11 @@ env:
 
 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 ext PECL=pq
  - make -f travis/pecl/Makefile test
 
 sudo: false