aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-10-14 09:04:39 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-10-14 09:45:11 +0200
commit345e8ad8222d8ca331c84b96fe2de1b5c0a5ac6f (patch)
treeb7d45f53335373fe4e843a9e2f7a2442d913201f /travis
parentbdf69817bef177778e55ef79a6a17fd211cb3a59 (diff)
downloadforums-345e8ad8222d8ca331c84b96fe2de1b5c0a5ac6f.tar
forums-345e8ad8222d8ca331c84b96fe2de1b5c0a5ac6f.tar.gz
forums-345e8ad8222d8ca331c84b96fe2de1b5c0a5ac6f.tar.bz2
forums-345e8ad8222d8ca331c84b96fe2de1b5c0a5ac6f.tar.xz
forums-345e8ad8222d8ca331c84b96fe2de1b5c0a5ac6f.zip
[ticket/14236] Disable Opcache on Travis when running the tests
PHPBB3-14236
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/setup-php-extensions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/travis/setup-php-extensions.sh b/travis/setup-php-extensions.sh
index c0defe44ef..d9544858b7 100755
--- a/travis/setup-php-extensions.sh
+++ b/travis/setup-php-extensions.sh
@@ -48,6 +48,9 @@ then
echo 'Enabling APC PHP extension'
register_php_extension 'apc' "$php_ini_file"
echo 'apc.enable_cli=1' >> "$php_ini_file"
+else
+ echo 'Disabling Opcache'
+ echo 'opcache.enable=0' >> "$php_ini_file"
fi
# redis