Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
og
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
og
Commits
df95e555
Commit
df95e555
authored
May 15, 2017
by
Aron Novak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.travis.yml: fix mysql server has gone away, from
https://github.com/piwik/piwik/pull/6963/files
parent
1b32b2c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
.travis.yml
.travis.yml
+6
-0
No files found.
.travis.yml
View file @
df95e555
...
...
@@ -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
`"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment