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

This commit is contained in:
Robbie Averill 2019-07-24 13:25:36 +02:00
parent 6a3a4d0fe2
commit b11dda493a
2 changed files with 12 additions and 17 deletions

View File

@ -1,26 +1,21 @@
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 5.4
- 5.5
env:
- DB=MYSQL CORE_RELEASE=3.5
dist: trusty
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
- php: '5.6'
env: DB=PGSQL CORE_RELEASE=3.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=MYSQL CORE_RELEASE=3.7
- php: '7.3'
env: DB=MYSQL CORE_RELEASE=3.7
before_script:
- composer self-update || true

View File

@ -20,7 +20,7 @@
"silverstripe/framework": "~3.1"
},
"require-dev": {
"phpunit/PHPUnit": "~3.7@stable"
"phpunit/phpunit": "^5.7"
},
"extra": [],
"license": "BSD-3-Clause"