From 8846d82e07367e07e081a2fc017ba7d6d23a04ce Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 21 Apr 2020 12:03:49 +0200 Subject: [PATCH] Reduce test parallelism on ARM64 CI --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d12e846f2b196..e8078f749eb27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -89,7 +89,9 @@ before_script: # Run PHPs run-tests.php script: - - ./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 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) + # ARM64 CI reports nproc=32, which is excessive. + - if [ -z "$ARM64" ]; then export JOBS=$(nproc); else export JOBS=8; fi + - ./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 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 - sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");' after_success: