fix +/* feature/bug prefix
[m6w6/ext-pq] / travis / compile-php.sh
1 #!/bin/sh -x
2
3 set -e
4
5 mkdir -p $HOME$BUILD_SRC_DIR
6 mkdir -p $HOME$BUILD_INSTALL_DIR/conf.d
7
8 git clone --depth=1 --branch=$PHP_TARGET_REF https://github.com/php/php-src $HOME$BUILD_SRC_DIR/php-src
9
10 cd $HOME$BUILD_SRC_DIR/php-src
11 ./buildconf --force
12 ./configure --quiet \
13 --prefix=$HOME$BUILD_INSTALL_DIR \
14 --with-config-file-scan-dir=$HOME$BUILD_INSTALL_DIR/conf.d \
15 --disable-all \
16 $PHP_CONFIGURE_OPTS \
17 $PHP_EXTENSIONS
18
19 make -j2 --quiet install