summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2014-04-28 08:31:02 +0200
committerFerenc Kovacs <tyrael@php.net>2014-04-29 16:09:51 +0200
commitea1d42641cb463e6d35959f8da5bbf1f9b9cb0ab (patch)
tree1da565243217f7748664b0d2f2b294b4f74238f2 /travis
parent4cad8fcad2cd4dc965da8c03bacb6a25d293b7c1 (diff)
downloadphp-git-ea1d42641cb463e6d35959f8da5bbf1f9b9cb0ab.tar.gz
separate travis jobs for debug and non-debug builds
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/compile.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/travis/compile.sh b/travis/compile.sh
index 85aca88df9..8b54b714ad 100755
--- a/travis/compile.sh
+++ b/travis/compile.sh
@@ -4,8 +4,14 @@ if [[ "$ENABLE_MAINTAINER_ZTS" == 1 ]]; then
else
TS="";
fi
+if [[ "$ENABLE_DEBUG" == 1 ]]; then
+ DEBUG="--enable-debug";
+else
+ DEBUG="";
+fi
./buildconf
./configure --quiet \
+$DEBUG \
$TS \
--with-pdo-mysql=mysqlnd \
--with-mysql=mysqlnd \