diff options
-rw-r--r-- | .travis.yml | 6 | ||||
-rwxr-xr-x | travis/compile.sh | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 9cfb1e0858..87a8695673 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,10 @@ env: - PDO_MYSQL_TEST_HOST=127.0.0.1 - REPORT_EXIT_STATUS=1 matrix: - - ENABLE_MAINTAINER_ZTS=0 - - ENABLE_MAINTAINER_ZTS=1 + - ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=0 + - ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=0 + - ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=1 + - ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1 before_script: # Compile PHP 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 \ |