]> granicus.if.org Git - php/commitdiff
separate travis jobs for debug and non-debug builds
authorFerenc Kovacs <tyrael@php.net>
Mon, 28 Apr 2014 06:31:02 +0000 (08:31 +0200)
committerFerenc Kovacs <tyrael@php.net>
Tue, 29 Apr 2014 14:09:51 +0000 (16:09 +0200)
.travis.yml
travis/compile.sh

index 9cfb1e08580ef0e888a74be36deb86b8acae08be..87a86956738e1b171b0323ce2d0c61f8dff57af1 100644 (file)
@@ -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
index 85aca88df9e7acdd17f1ff6ac84d323906e0008c..8b54b714ad3f9c36e56f999aee7f0898f66d5c2d 100755 (executable)
@@ -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 \