Skip to content

Commit 0b3171c

Browse files
committed
Add Big Endian architecture to Travis
1 parent e070c47 commit 0b3171c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
arch: amd64
7575
- env: ENABLE_ZTS=1 ENABLE_DEBUG=1 SKIP_IO_CAPTURE_TESTS=1 ARM64=1
7676
arch: arm64
77+
- env: ENABLE_ZTS=1 ENABLE_DEBUG=1 SKIP_IO_CAPTURE_TESTS=1 BIG_ENDIAN=1
78+
arch: s390x
7779

7880
before_script:
7981
- ccache --version

travis/compile.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ if [[ "$ENABLE_DEBUG" == 1 ]]; then
99
else
1010
DEBUG="";
1111
fi
12+
if [[ "$BIG_ENDIAN" == 1 ]]; then
13+
BIG_ENDIAN_CONFIG="--without-pcre-jit";
14+
else
15+
BIG_ENDIAN_CONFIG="";
16+
fi
1217

1318
if [[ -z "$CONFIG_LOG_FILE" ]]; then
1419
CONFIG_QUIET="--quiet"
@@ -32,6 +37,7 @@ MAKE_JOBS=${MAKE_JOBS:-$(nproc)}
3237
$CONFIG_QUIET \
3338
$DEBUG \
3439
$TS \
40+
$BIG_ENDIAN_CONFIG \
3541
--enable-phpdbg \
3642
--enable-fpm \
3743
--with-pdo-mysql=mysqlnd \

0 commit comments

Comments
 (0)