From 22e395124471b0b74fdf7d4f93e7b66e2a0c095b Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 2 Jun 2022 12:21:46 +1200 Subject: [PATCH] MNT Test using PHPUnit9 --- .travis.yml | 22 ++++++++++------------ composer.json | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 420255b..f8a3257 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,30 +11,28 @@ env: jobs: fast_finish: true include: - - php: 7.1 + - php: 7.3 env: - - REQUIRE_INSTALLER="4.5.x-dev" - - PHPCS_TEST=1 - - PHPUNIT_TEST=1 + - REQUIRE_INSTALLER="4.10.x-dev" + - PHPUNIT_COVERAGE_TEST=1 - PHPUNIT_SUITE="framework" - - php: 7.2 + - php: 7.4 env: - - REQUIRE_INSTALLER="4.6.x-dev" - - PHPUNIT_COVERAGE_TEST=1 + - REQUIRE_INSTALLER="4.11.x-dev" + - PHPUNIT_TEST=1 - PHPUNIT_SUITE="postgresql" - - php: 7.3 + - php: 7.4 env: - - REQUIRE_INSTALLER="4.7.x-dev" + - REQUIRE_INSTALLER="4.x-dev" - PHPUNIT_TEST=1 - PHPUNIT_SUITE="framework" - - php: 7.4 + - php: 8.0 env: - REQUIRE_INSTALLER="4.x-dev" - PHPUNIT_TEST=1 - PHPUNIT_SUITE="postgresql" - - php: 8.0 + - php: 8.1 env: - REQUIRE_INSTALLER="4.x-dev" - PHPUNIT_TEST=1 - PHPUNIT_SUITE="framework" - - COMPOSER_INSTALL_ARG=--ignore-platform-reqs diff --git a/composer.json b/composer.json index 4c89b41..6e5fbc5 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "silverstripe/vendor-plugin": "^1.0" }, "require-dev": { - "sminnee/phpunit": "^5.7", + "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^3" }, "extra": { },