add travis-pecl submodule
[m6w6/ext-pq] / .travis.yml
index 0f5f740e5091f895798bac455b71b47fa25adc9a..de7ad33524bae065b0bf08b391a612d48cdcae51 100644 (file)
@@ -3,6 +3,9 @@ language: c
 
 addons:
  postgresql: 9.4
+ apt:
+  packages:
+   - php5-cli
 
 env:
  global:
@@ -37,6 +40,7 @@ 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 test