Skip to content

Commit 4cad8fc

Browse files
committed
separate travis jobs for TS and NTS builds
1 parent 35d213c commit 4cad8fc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ env:
1515
- PDO_MYSQL_TEST_USER=travis
1616
- PDO_MYSQL_TEST_PASS=
1717
- PDO_MYSQL_TEST_HOST=127.0.0.1
18-
matrix:
1918
- REPORT_EXIT_STATUS=1
19+
matrix:
20+
- ENABLE_MAINTAINER_ZTS=0
21+
- ENABLE_MAINTAINER_ZTS=1
2022

2123
before_script:
2224
# Compile PHP

travis/compile.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/bash
2+
if [[ "$ENABLE_MAINTAINER_ZTS" == 1 ]]; then
3+
TS="--enable-maintainer-zts";
4+
else
5+
TS="";
6+
fi
27
./buildconf
38
./configure --quiet \
9+
$TS \
410
--with-pdo-mysql=mysqlnd \
511
--with-mysql=mysqlnd \
612
--with-mysqli=mysqlnd \

0 commit comments

Comments
 (0)