summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-06-03 12:37:47 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-06-03 12:37:47 +0200
commit6b511d124ebe02a170d707b50f55e2fa1b81a1b1 (patch)
tree6db900d86951a18c12acbd21fcd2885b3ebf9b99 /.travis.yml
parentd9fd44366d7d3f32563833b48ee0c304e4b506bf (diff)
downloadphp-git-6b511d124ebe02a170d707b50f55e2fa1b81a1b1.tar.gz
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.
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 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