diff options
author | Ferenc Kovacs <tyrael@php.net> | 2014-04-28 08:31:02 +0200 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2014-04-29 16:09:51 +0200 |
commit | ea1d42641cb463e6d35959f8da5bbf1f9b9cb0ab (patch) | |
tree | 1da565243217f7748664b0d2f2b294b4f74238f2 /travis | |
parent | 4cad8fcad2cd4dc965da8c03bacb6a25d293b7c1 (diff) | |
download | php-git-ea1d42641cb463e6d35959f8da5bbf1f9b9cb0ab.tar.gz |
separate travis jobs for debug and non-debug builds
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/compile.sh | 6 |
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 \ |