From 62876a9b2842e8bcd07451bab6fddabd445e867f Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 24 Jul 2019 13:10:26 +0200 Subject: [PATCH] Update Travis builds to include PHP 7, update PHPUnit to 5.7 --- .travis.yml | 18 ++++++++++-------- composer.json | 5 ++++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 412a21d..3ee249c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,21 @@ # See https://github.com/silverstripe/silverstripe-travis-support for setup details -sudo: false - language: php dist: trusty matrix: include: - - php: 5.6 - env: DB=PGSQL CORE_RELEASE=3.5 - - php: 7.0 - env: DB=MYSQL CORE_RELEASE=3 - - 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 diff --git a/composer.json b/composer.json index 417b4ed..b476aa3 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,9 @@ "require": { "silverstripe/framework": "3.*" }, + "require-dev": { + "phpunit/phpunit": "^5.7" + }, "extra": [], "license": "BSD-3-Clause" -} \ No newline at end of file +}