File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,3 +48,4 @@ script:
4848 - sh -c "if [ '$NOTESTS' != '1' -a '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi"
4949 - sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
5050 - sh -c "set -x;if [ '$NOTESTS' = '1' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
51+ - php -i | grep opcache
Original file line number Diff line number Diff line change 4848 echo ' Enabling APC PHP extension'
4949 register_php_extension ' apc' " $php_ini_file "
5050 echo ' apc.enable_cli=1' >> " $php_ini_file "
51+ else
52+ echo ' Disabling Opcache'
53+ echo ' opcache.enable=0' >> " $php_ini_file "
5154fi
5255
5356# redis
You can’t perform that action at this time.
0 commit comments