Files
faveo/vendor/maxmind-db/reader/.travis-build.sh
2016-06-13 20:41:55 +05:30

18 lines
294 B
Bash

#!/bin/sh
set -e
set -x
if [ "hhvm" != $TRAVIS_PHP_VERSION ]
then
export CFLAGS="-L$HOME/libmaxminddb/lib"
export CPPFLAGS="-I$HOME/libmaxminddb/include"
cd ext
phpize
./configure --with-maxminddb --enable-maxminddb-debug
make clean
make
NO_INTERACTION=1 make test
cd ..
fi