Require phpunit-mock-objects, bump recipe versions

This commit is contained in:
Steve Boyd 2020-06-18 13:54:42 +12:00
parent b01567767c
commit 56dab108c9

View File

@ -13,11 +13,11 @@ env:
matrix:
include:
- php: 7.1
env: DB=MYSQL RECIPE_VERSION=4.2.x-dev PHPCS_TEST=1 PHPUNIT_TEST=1
env: DB=MYSQL RECIPE_VERSION=4.4.x-dev PHPCS_TEST=1 PHPUNIT_TEST=1
- php: 7.2
env: DB=PGSQL RECIPE_VERSION=4.2.x-dev PHPUNIT_TEST=1
env: DB=PGSQL RECIPE_VERSION=4.5.x-dev PHPUNIT_TEST=1
- php: 7.3
env: DB=MYSQL RECIPE_VERSION=4.3.x-dev PHPUNIT_COVERAGE_TEST=1
env: DB=MYSQL RECIPE_VERSION=4.6.x-dev PHPUNIT_COVERAGE_TEST=1
- php: 7.4
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1
@ -28,6 +28,7 @@ before_script:
- composer validate
- composer require --no-update silverstripe/recipe-core:"$RECIPE_VERSION"
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.x-dev; fi
- composer require --no-update sminnee/phpunit-mock-objects:^3
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script: