Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2014-12-16 07:35:23 +0300
committerdiosmosis <benaka@piwik.pro>2014-12-16 07:38:07 +0300
commitedaf464bea15da6263ed21de224915ddeab6cb1f (patch)
tree90500a6114d8bfd857dffe5aa11f2d7f9f317ad1
parenta0759b589687c6be650075df1237b6f5ca2a2090 (diff)
Add always_populate_raw_post_data=-1 to php.ini in travis.
-rw-r--r--.travis.yml3
-rw-r--r--plugins/TestRunner/templates/travis.yml.twig3
2 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index ee3153ad65..5889b92b95 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,6 +94,9 @@ before_script:
phpenv config-rm xdebug.ini;
fi
+ # 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
+
- ./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 c7faa74372..533306cdec 100644
--- a/plugins/TestRunner/templates/travis.yml.twig
+++ b/plugins/TestRunner/templates/travis.yml.twig
@@ -137,6 +137,9 @@ before_script:
phpenv config-rm xdebug.ini;
fi
+ # 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
+
- ./tests/travis/configure_git.sh
# print out mysql information