Skip to content

Commit 0e0c608

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Reduce test parallelism on ARM64 CI
2 parents c3d6a0a + 7e14e03 commit 0e0c608

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ before_script:
9191

9292
# Run PHPs run-tests.php
9393
script:
94-
- ./sapi/cli/php run-tests.php -P -d extension=`pwd`/modules/zend_test.so $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120 -j$(nproc)
94+
# ARM64 CI reports nproc=32, which is excessive.
95+
- if [ -z "$ARM64" ]; then export JOBS=$(nproc); else export JOBS=16; fi
96+
- ./sapi/cli/php run-tests.php -P -d extension=`pwd`/modules/zend_test.so $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120 -j$JOBS
9597
- sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");'
9698

9799
after_success:

0 commit comments

Comments
 (0)