Require v5.x-dev of recipe-core for test suites

This commit is contained in:
Dan Hensby 2020-03-26 10:53:58 +00:00
parent 26bd98b3b2
commit cd320df6ea
No known key found for this signature in database
GPG Key ID: F76D6B5FE0626A99

View File

@ -22,7 +22,7 @@ before_script:
- export PATH=~/.composer/vendor/bin:$PATH - export PATH=~/.composer/vendor/bin:$PATH
- composer validate - composer validate
- composer install --dev --prefer-dist - composer install --dev --prefer-dist
- composer require --prefer-dist --no-update silverstripe/recipe-core:2.x-dev - composer require --prefer-dist --no-update silverstripe/recipe-core:5.x-dev
- composer update - composer update
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi - if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
- phpenv rehash - phpenv rehash