Merge pull request #82 from creative-commoners/pulls/3.0/travis-update

Update dependencies to PHP 7.1 and PHPUnit 7
This commit is contained in:
Damian Mooyman 2018-01-23 18:04:30 +13:00 committed by GitHub
commit 917884e015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 8 deletions

View File

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

View File

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