Skip to content

Commit

Permalink
Merge pull request #45 from creative-commoners/pulls/1.0/fix-mysql-go…
Browse files Browse the repository at this point in the history
…ne-away

FIX MySQL server gone away error in Travis builds
  • Loading branch information
fspringveldt committed Jun 15, 2017
2 parents 825ed7c + ddb36d0 commit 2d054ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
@@ -1,7 +1,5 @@
# See https://github.com/silverstripe/silverstripe-travis-support for setup details

sudo: false

language: php

php:
Expand All @@ -19,6 +17,8 @@ matrix:
env: DB=MYSQL CORE_RELEASE=3 COVERAGE="--coverage-clover=coverage.xml"

before_script:
- echo -e "[server]\nmax_allowed_packet=64M" | sudo tee -a /etc/mysql/conf.d/dms.cnf
- sudo service mysql restart
- composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/build/ss
Expand Down

0 comments on commit 2d054ed

Please sign in to comment.