Update dependencies to PHP 7.1 and PHPUnit 7

This commit is contained in:
Robbie Averill 2018-01-18 16:31:14 +13:00
parent 2e2868c237
commit 6f11131d4f
2 changed files with 4 additions and 7 deletions

View File

@ -6,9 +6,6 @@ cache:
directories: directories:
- $HOME/.composer/cache/files - $HOME/.composer/cache/files
php:
- 5.6
env: env:
global: global:
- DB="PGSQL" - DB="PGSQL"
@ -16,10 +13,10 @@ env:
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- php: 5.6 - php: 7.1
env: env:
- PHPUNIT_TEST=framework - PHPUNIT_TEST=framework
- php: 5.6 - php: 7.2
env: env:
- PHPUNIT_TEST=postgresql - PHPUNIT_TEST=postgresql
- PHPCS_TEST=1 - PHPCS_TEST=1
@ -33,7 +30,7 @@ before_script:
# Install composer dependencies # Install composer dependencies
- composer validate - composer validate
- composer require --no-update silverstripe/recipe-cms:1.0.x-dev - composer require --no-update silverstripe/recipe-cms:2.x-dev
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile - composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
- 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

View File

@ -19,7 +19,7 @@
"silverstripe/vendor-plugin": "^1.0" "silverstripe/vendor-plugin": "^1.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7" "phpunit/phpunit": "^7@dev"
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {