From 72873608c446eabe726f2d5cfc6f45990603fe4b Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Mon, 12 Jun 2017 18:37:11 +1200 Subject: [PATCH] Increase max allowed packets in mysql, add build for SS 3.6 explicitly --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d3c4ac..bb1226e 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: @@ -15,10 +13,14 @@ env: matrix: include: + - php: 7.1 + env: DB=MYSQL CORE_RELEASE=3.6 - php: 7.1 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 --require undefinedoffset/sortablegridfield:~0.6.9