Skip to content

Commit ea1d426

Browse files
committed
separate travis jobs for debug and non-debug builds
1 parent 4cad8fc commit ea1d426

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ env:
1717
- PDO_MYSQL_TEST_HOST=127.0.0.1
1818
- REPORT_EXIT_STATUS=1
1919
matrix:
20-
- ENABLE_MAINTAINER_ZTS=0
21-
- ENABLE_MAINTAINER_ZTS=1
20+
- ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=0
21+
- ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=0
22+
- ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=1
23+
- ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1
2224

2325
before_script:
2426
# Compile PHP

travis/compile.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ if [[ "$ENABLE_MAINTAINER_ZTS" == 1 ]]; then
44
else
55
TS="";
66
fi
7+
if [[ "$ENABLE_DEBUG" == 1 ]]; then
8+
DEBUG="--enable-debug";
9+
else
10+
DEBUG="";
11+
fi
712
./buildconf
813
./configure --quiet \
14+
$DEBUG \
915
$TS \
1016
--with-pdo-mysql=mysqlnd \
1117
--with-mysql=mysqlnd \

0 commit comments

Comments
 (0)