1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-12-02 09:18:02 +01:00
ext-pq/travis/compile-php.sh
2014-12-16 17:15:33 +00:00

20 lines
456 B
Bash
Executable File

#!/bin/sh -x
set -e
mkdir -p $HOME$BUILD_SRC_DIR
mkdir -p $HOME$BUILD_INSTALL_DIR/conf.d
git clone --depth=1 --branch=$PHP_TARGET_REF https://github.com/php/php-src $HOME$BUILD_SRC_DIR/php-src
cd $HOME$BUILD_SRC_DIR/php-src
./buildconf --force
./configure --quiet \
--prefix=$HOME$BUILD_INSTALL_DIR \
--with-config-file-scan-dir=$HOME$BUILD_INSTALL_DIR/conf.d \
--disable-all \
$PHP_CONFIGURE_OPTS \
$PHP_EXTENSIONS
make -j2 --quiet install