summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2019-09-15 18:32:11 +0200
committerGabriel Caruso <carusogabriel34@gmail.com>2019-09-25 00:02:59 +0200
commit3205ebefa3cb5dd0a1b8bbd0a407cecad025e8af (patch)
treeacf3a9c4d3bff69b397396d5f1d65e788d8c1bd9 /.travis.yml
parent73115ef8730cc2466fdb039acb6b9463bc08808a (diff)
downloadphp-git-3205ebefa3cb5dd0a1b8bbd0a407cecad025e8af.tar.gz
Use nproc instead of hardcoded number
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6578e2a46f..d78b14e93d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -73,7 +73,7 @@ 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 -j2
+ - ./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)
- sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");'
after_success: