diff --git a/.travis.yml b/.travis.yml index e2372c7..f34af40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ # See https://github.com/silverstripe/silverstripe-travis-support for setup details -sudo: false - language: php php: @@ -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