mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
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:
commit
917884e015
11
.travis.yml
11
.travis.yml
@ -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:
|
||||
|
@ -19,7 +19,7 @@
|
||||
"silverstripe/vendor-plugin": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7"
|
||||
"phpunit/phpunit": "^7@dev"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
|
Loading…
Reference in New Issue
Block a user