diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-29 15:16:36 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-29 15:16:36 +0200 |
commit | 0e0c608ce0f0860ee09c2ea2f66ab9447c6773db (patch) | |
tree | eca980ac3e82ebe60105dc28337a316fad631d00 /.travis.yml | |
parent | c3d6a0ac025b959521a8c54cadc8656894a3da22 (diff) | |
parent | 7e14e033743ad80562a9d53c1aab21a02e78b665 (diff) | |
download | php-git-0e0c608ce0f0860ee09c2ea2f66ab9447c6773db.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Reduce test parallelism on ARM64 CI
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 7318269344..70e19ec7a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,7 +91,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 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) + # ARM64 CI reports nproc=32, which is excessive. + - if [ -z "$ARM64" ]; then export JOBS=$(nproc); else export JOBS=16; 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 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 - sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");' after_success: |