Commit df95e555 authored by Aron Novak's avatar Aron Novak

.travis.yml: fix mysql server has gone away, from https://github.com/piwik/piwik/pull/6963/files

parent 1b32b2c7
......@@ -21,6 +21,12 @@ before_script:
- sudo apt-get update > /dev/null
- sudo apt-get install -y --force-yes php5-mysql
# Try to avoid MySQL has gone away errors
- mysql -e "SET GLOBAL wait_timeout = 36000;"
- mysql -e "SET GLOBAL max_allowed_packet = 134209536;"
- mysql -e "SHOW VARIABLES LIKE 'max_allowed_packet';"
- mysql -e "SHOW VARIABLES LIKE 'wait_timeout';"
# Create new site, stubbing sendmail path with true to prevent delivery errors
- mysql -e 'CREATE DATABASE drupal'
- export PHP_OPTIONS="-d sendmail_path=`which true`"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment