MNT Add PHP 8 builds

This commit is contained in:
Garion Herman 2020-10-14 14:31:51 +13:00
parent 0a57853c60
commit 4ea1f7082b
2 changed files with 8 additions and 4 deletions

View File

@ -29,20 +29,24 @@ matrix:
include: include:
# Core php tests # Core php tests
- php: 7.1 - php: 7.1
env: DB=MYSQL PHPUNIT_TEST=core PDO=1 env: DB=MYSQL PHPUNIT_TEST=core PDO=1 COMPOSER_ARG=--prefer-lowest
- php: 7.2 - php: 7.2
env: DB=MYSQL PHPUNIT_TEST=framework env: DB=MYSQL PHPUNIT_TEST=framework
- php: 7.3 - php: 7.3
env: DB=PGSQL PHPUNIT_TEST=core env: DB=PGSQL PHPUNIT_TEST=core
- php: 7.4 - php: 7.4
env: DB=MYSQL PHPUNIT_TEST=core env: DB=MYSQL PHPUNIT_TEST=core
- php: nightly
env: DB=MYSQL PHPUNIT_TEST=core COMPOSER_ARG=--ignore-platform-reqs
# admin php tests # admin php tests
- php: 7.1 - php: 7.1
env: DB=MYSQL PHPUNIT_TEST=admin PDO=1 env: DB=MYSQL PHPUNIT_TEST=admin PDO=1 COMPOSER_ARG=--prefer-lowest
- php: 7.2 - php: 7.2
env: DB=PGSQL PHPUNIT_TEST=admin env: DB=PGSQL PHPUNIT_TEST=admin
- php: 7.4 - php: 7.4
env: DB=MYSQL PHPUNIT_TEST=admin env: DB=MYSQL PHPUNIT_TEST=admin
- php: nightly
env: DB=MYSQL PHPUNIT_TEST=admin COMPOSER_ARG=--ignore-platform-reqs
# behat tests # behat tests
- php: 7.1 - php: 7.1
env: DB=MYSQL BEHAT_TEST="@framework" env: DB=MYSQL BEHAT_TEST="@framework"

View File

@ -3,14 +3,14 @@
"type": "silverstripe-recipe", "type": "silverstripe-recipe",
"description": "The SilverStripe Framework Installer", "description": "The SilverStripe Framework Installer",
"require": { "require": {
"php": ">=7.1.0", "php": "^7.1 || ^8",
"silverstripe/recipe-plugin": "^1.2", "silverstripe/recipe-plugin": "^1.2",
"silverstripe/recipe-cms": "4.x-dev", "silverstripe/recipe-cms": "4.x-dev",
"silverstripe-themes/simple": "~3.2.0", "silverstripe-themes/simple": "~3.2.0",
"silverstripe/login-forms": "4.x-dev" "silverstripe/login-forms": "4.x-dev"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7", "sminnee/phpunit": "^5.7",
"sminnee/phpunit-mock-objects": "^3.4.5" "sminnee/phpunit-mock-objects": "^3.4.5"
}, },
"extra": { "extra": {