diff options
author | diosmosis <benaka@piwik.pro> | 2015-06-08 22:05:42 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-06-08 22:29:23 +0300 |
commit | 3d0ca73fde51e28d998b555de9efb2114e9e14a5 (patch) | |
tree | afcca8da108f402fb472d5c19a575122b0931ad3 | |
parent | c332149ec11dca4c7fbd18b6f3b4100370d97573 (diff) |
Refs #8057, disable opcache in travis to avoid random system test failure.
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | plugins/TestRunner/templates/travis.yml.twig | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 1e933205db..2aab506e1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,6 +101,9 @@ before_script: # add always_populate_raw_post_data=-1 to php.ini - echo "always_populate_raw_post_data=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + # disable opcache to avoid random failures on travis + - echo "opcache.enable=0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + - ./tests/travis/configure_git.sh # print out mysql information diff --git a/plugins/TestRunner/templates/travis.yml.twig b/plugins/TestRunner/templates/travis.yml.twig index 31f8d70e56..3d0efc3476 100644 --- a/plugins/TestRunner/templates/travis.yml.twig +++ b/plugins/TestRunner/templates/travis.yml.twig @@ -129,6 +129,9 @@ before_script: # add always_populate_raw_post_data=-1 to php.ini - echo "always_populate_raw_post_data=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + # disable opcache to avoid random failures on travis + - echo "opcache.enable=0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + - ./tests/travis/configure_git.sh # print out mysql information |