Add travis config
[m6w6/ext-pq] / travis / compile-raphf.sh
1 #!/bin/sh -x
2
3 set -e
4
5 git clone --depth 1 https://github.com/php/pecl-php-raphf $HOME/raphf
6 cd $HOME/raphf
7
8 $HOME/bin/phpize
9 ./configure --with-php-config=$HOME/bin/php-config --with-pq
10
11 make -j2 --quiet install
12
13 echo 'extension=raphf.so' > $HOME/php.d/10-raphf.ini