Skip to content

Commit

Permalink
Merge pull request #607 from owncloud/php-dependencies-for-composer-2.0
Browse files Browse the repository at this point in the history
Adjust PHP dependencies for composer 2.0
  • Loading branch information
phil-davis authored Nov 3, 2020
2 parents 9456d38 + cc47a1b commit 73773d5
Show file tree
Hide file tree
Showing 3 changed files with 429 additions and 244 deletions.
6 changes: 4 additions & 2 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def phpstan():
default = {
'phpVersions': ['7.2'],
'logLevel': '2',
'extraApps': {},
}

if 'defaults' in config:
Expand Down Expand Up @@ -240,6 +241,7 @@ def phpstan():
'steps':
installCore('daily-master-qa', 'sqlite', False) +
installApp(phpVersion) +
installExtraApps(phpVersion, params['extraApps']) +
setupServerAndApp(phpVersion, params['logLevel']) +
[
{
Expand Down Expand Up @@ -845,7 +847,7 @@ def acceptance():
},
'steps':
installCore(server, db, params['useBundledApp']) +
installTestrunner(phpVersion, params['useBundledApp']) +
installTestrunner('7.4', params['useBundledApp']) +
(installFederated(server, phpVersion, params['logLevel'], db, federationDbSuffix) + owncloudLog('federated') if params['federatedServerNeeded'] else []) +
installApp(phpVersion) +
installExtraApps(phpVersion, params['extraApps']) +
Expand All @@ -858,7 +860,7 @@ def acceptance():
[
({
'name': 'acceptance-tests',
'image': 'owncloudci/php:%s' % phpVersion,
'image': 'owncloudci/php:7.4',
'pull': 'always',
'environment': environment,
'commands': params['extraCommandsBeforeTestRun'] + [
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "owncloud/market",
"config" : {
"platform": {
"php": "7.0.8"
"php": "7.2"
}
},
"require": {
"php": ">=7.0.8"
"php": ">=7.2"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4",
Expand Down
Loading

0 comments on commit 73773d5

Please sign in to comment.