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

This commit is contained in:
Robbie Averill 2019-07-24 12:35:21 +02:00
parent e83da88305
commit 72d77a00c2
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
dist: trusty
language: php
php:
- 5.4
- 5.5
env:
- DB=MYSQL CORE_RELEASE=3.5
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
- php: '5.6'
env: DB=MYSQL CORE_RELEASE=3.6
- php: '7.0'
env: DB=MYSQL CORE_RELEASE=3.7
- php: '7.1'
env: DB=PGSQL 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

@ -21,10 +21,10 @@
},
"require-dev": {
"hafriedlander/silverstripe-phockito": "*",
"phpunit/PHPUnit": "~3.7@stable"
"phpunit/phpunit": "^5.7"
},
"suggest": {
"silverstripe/queuedjobs": "Speeds up running the job for Content Editors fropm the report"
},
"extra": []
}
}