com php-src: Travis: Use opcache in release build: .travis.yml
| From: | Nikita Popov | Date: | Sat, 03 Jun 2017 10:37:47 +0000 |
| Subject: | com php-src: Travis: Use opcache in release build: .travis.yml | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98000@lists.php.net to get a copy of this message | ||
Commit: 6b511d124ebe02a170d707b50f55e2fa1b81a1b1
Author: Nikita Popov <nikita.ppv@gmail.com> Sat, 3 Jun 2017 12:37:47 +0200
Parents: d9fd44366d7d3f32563833b48ee0c304e4b506bf
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6b511d124ebe02a170d707b50f55e2fa1b81a1b1
Log:
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.
Changed paths:
M .travis.yml
Diff:
diff --git a/.travis.yml b/.travis.yml
index 527ae8d..7024013 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