From: Nikita Popov Date: Sat, 3 Jun 2017 10:37:47 +0000 (+0200) Subject: Travis: Use opcache in release build X-Git-Tag: php-7.2.0alpha1~6^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b511d124ebe02a170d707b50f55e2fa1b81a1b1;p=php Travis: Use opcache in release build Our debug builds on Travis are often timing out recently. Opcache causes quite a large performance hit on test run times, so move it over to the release build, where it should have less impact. --- diff --git a/.travis.yml b/.travis.yml index 527ae8db32..7024013fa3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,4 +57,4 @@ before_script: # Run PHPs run-tests.php script: - - ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php $(if [ $ENABLE_DEBUG == 1 ]; then echo "-d opcache.enable_cli=1 -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --set-timeout 120 + - ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --set-timeout 120