Increase max allowed packets in mysql, add build for SS 3.6 explicitly

This commit is contained in:
Robbie Averill 2017-06-12 18:37:11 +12:00
parent b0de8b33e5
commit 72873608c4

View File

@ -1,7 +1,5 @@
# See https://github.com/silverstripe/silverstripe-travis-support for setup details # See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false
language: php language: php
php: php:
@ -15,10 +13,14 @@ env:
matrix: matrix:
include: include:
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
- php: 7.1 - php: 7.1
env: DB=MYSQL CORE_RELEASE=3 COVERAGE="--coverage-clover=coverage.xml" env: DB=MYSQL CORE_RELEASE=3 COVERAGE="--coverage-clover=coverage.xml"
before_script: 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 - composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support - 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 - php ~/travis-support/travis_setup.php --source `pwd` --target ~/build/ss --require undefinedoffset/sortablegridfield:~0.6.9