Update Travis builds to include PHP 7, update PHPUnit to 5.7

This commit is contained in:
Robbie Averill 2019-07-24 12:27:53 +02:00
parent 276c962c8e
commit b84fea6b27
2 changed files with 12 additions and 9 deletions

View File

@ -1,21 +1,21 @@
# See https://github.com/silverstripe/silverstripe-travis-support for setup details # See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false dist: trusty
language: php language: php
matrix: matrix:
include: include:
- php: 5.6 - php: '5.6'
env: DB=MYSQL CORE_RELEASE=3.5
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.6 env: DB=MYSQL CORE_RELEASE=3.6
- php: 5.6 - php: '7.0'
env: DB=MYSQL CORE_RELEASE=3.7
- php: '7.1'
env: DB=MYSQL CORE_RELEASE=3.7
- php: '7.2'
env: DB=PGSQL CORE_RELEASE=3.7
- php: '7.3'
env: DB=MYSQL CORE_RELEASE=3.7 env: DB=MYSQL CORE_RELEASE=3.7
- php: 7.0
env: DB=PGSQL CORE_RELEASE=3
- php: 7.1
env: DB=PGSQL CORE_RELEASE=3
before_script: before_script:
- composer self-update || true - composer self-update || true

View File

@ -24,6 +24,9 @@
"silverstripe/framework": "~3.1", "silverstripe/framework": "~3.1",
"silverstripe/cms": "~3.1" "silverstripe/cms": "~3.1"
}, },
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"suggest": { "suggest": {
"silverstripe/queuedjobs": "Automatically schedules content review emails to be sent, only requiring one crontask to be created" "silverstripe/queuedjobs": "Automatically schedules content review emails to be sent, only requiring one crontask to be created"
}, },