summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-07-02 22:29:54 +0200
committerJoe Watkins <krakjoe@php.net>2019-07-03 08:16:31 +0200
commita45192e183d456b3288e466b51137e7e2a5e2cf6 (patch)
tree266224ff2031a743560bc15b25990b2ec4eebea9 /travis
parent6f558c9508b1800cd9fe72ed91d8abb48864a30e (diff)
downloadphp-git-a45192e183d456b3288e466b51137e7e2a5e2cf6.tar.gz
Enable option checking on CI
This adds the Autoconf's --enable-option-checking=fatal option so when non existing option from the PHP's configure options is used a fatal error happens.
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/compile.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/travis/compile.sh b/travis/compile.sh
index 4f5b88e386..b03336bdc8 100755
--- a/travis/compile.sh
+++ b/travis/compile.sh
@@ -5,7 +5,7 @@ else
TS="";
fi
if [[ "$ENABLE_DEBUG" == 1 ]]; then
- DEBUG="--enable-debug --without-pcre-valgrind";
+ DEBUG="--enable-debug";
else
DEBUG="";
fi
@@ -27,6 +27,7 @@ MAKE_JOBS=${MAKE_JOBS:-2}
./buildconf --force
./configure \
+--enable-option-checking=fatal \
--prefix="$HOME"/php-install \
$CONFIG_QUIET \
$DEBUG \
@@ -46,7 +47,7 @@ $TS \
--with-freetype \
--with-xpm \
--enable-exif \
---enable-zip \
+--with-zip \
--with-zlib \
--with-zlib-dir=/usr \
--enable-soap \