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

This commit is contained in:
Robbie Averill 2019-07-24 13:10:26 +02:00
parent c5337ed8bf
commit 62876a9b28
2 changed files with 14 additions and 9 deletions

View File

@ -1,19 +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
language: php language: php
dist: trusty dist: trusty
matrix: matrix:
include: include:
- php: 5.6 - php: '5.6'
env: DB=PGSQL CORE_RELEASE=3.5 env: DB=PGSQL CORE_RELEASE=3.6
- php: 7.0 - php: '7.0'
env: DB=MYSQL CORE_RELEASE=3 env: DB=MYSQL CORE_RELEASE=3.7
- php: 7.1 - php: '7.1'
env: DB=MYSQL CORE_RELEASE=3.6 env: DB=MYSQL CORE_RELEASE=3.7
- php: '7.2'
env: DB=MYSQL CORE_RELEASE=3.7
- php: '7.3'
env: DB=MYSQL CORE_RELEASE=3.7
before_script: before_script:
- composer self-update || true - composer self-update || true

View File

@ -20,6 +20,9 @@
"require": { "require": {
"silverstripe/framework": "3.*" "silverstripe/framework": "3.*"
}, },
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"extra": [], "extra": [],
"license": "BSD-3-Clause" "license": "BSD-3-Clause"
} }