From 74cde047f4da87403693b3e04c8f40cff89faa4d Mon Sep 17 00:00:00 2001 From: RazeSoldier Date: Thu, 6 Jun 2019 08:57:51 +0000 Subject: [PATCH] build: Set opcache.enable_cli=1 for Travis CI builds Make test process faster. The code refer . Bug: T225078 Change-Id: I8c4e87f75108cfbece17506aa630b205aabaab4b --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index e4a173dce6..ada60e465d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,6 +58,7 @@ addons: - tidy before_script: + - echo 'opcache.enable_cli = 1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - composer install --prefer-source --quiet --no-interaction - if [ "$dbtype" = postgres ]; then psql -c "CREATE DATABASE traviswiki WITH OWNER travis;" -U postgres; fi - > -- 2.20.1