Skip to content

Commit

Permalink
Drop PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Sep 2, 2021
1 parent 84790f1 commit 548d774
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 21 deletions.
33 changes: 16 additions & 17 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ config = {
"phpunit": {
"allDatabases": {
"phpVersions": [
"7.2",
"7.3",
],
},
"reducedDatabases": {
"phpVersions": [
"7.3",
"7.4",
],
"databases": [
Expand Down Expand Up @@ -82,7 +81,7 @@ config = {
"daily-master-qa",
],
"phpVersions": [
"7.2",
"7.4",
],
"runCoreTests": True,
"federatedServerNeeded": True,
Expand All @@ -102,7 +101,7 @@ config = {
"daily-master-qa",
],
"phpVersions": [
"7.2",
"7.4",
],
"runCoreTests": True,
"cron": "nightly",
Expand All @@ -122,7 +121,7 @@ config = {
"daily-master-qa",
],
"phpVersions": [
"7.2",
"7.4",
],
"emailNeeded": True,
"runCoreTests": True,
Expand Down Expand Up @@ -218,7 +217,7 @@ def codestyle(ctx):
return pipelines

default = {
"phpVersions": ["7.2"],
"phpVersions": ["7.3"],
}

if "defaults" in config:
Expand Down Expand Up @@ -383,7 +382,7 @@ def phpstan(ctx):
return pipelines

default = {
"phpVersions": ["7.2"],
"phpVersions": ["7.3"],
"logLevel": "2",
"extraApps": {},
"enableApp": True,
Expand Down Expand Up @@ -460,7 +459,7 @@ def phan(ctx):
return pipelines

default = {
"phpVersions": ["7.2", "7.3", "7.4"],
"phpVersions": ["7.3", "7.4"],
}

if "defaults" in config:
Expand Down Expand Up @@ -531,7 +530,7 @@ def build(ctx):
return pipelines

default = {
"phpVersions": ["7.2"],
"phpVersions": ["7.3"],
"commands": [
"make dist",
],
Expand Down Expand Up @@ -730,7 +729,7 @@ def phpTests(ctx, testType, withCoverage):
errorFound = False

default = {
"phpVersions": ["7.2", "7.3", "7.4"],
"phpVersions": ["7.3", "7.4"],
"databases": [
"sqlite",
"mariadb:10.2",
Expand Down Expand Up @@ -927,7 +926,7 @@ def acceptance(ctx):
default = {
"servers": ["daily-master-qa", "latest"],
"browsers": ["chrome"],
"phpVersions": ["7.2"],
"phpVersions": ["7.4"],
"databases": ["mariadb:10.2"],
"esVersions": ["none"],
"federatedServerNeeded": False,
Expand Down Expand Up @@ -1008,7 +1007,7 @@ def acceptance(ctx):
params["extraSetup"] = [
{
"name": "configure-app",
"image": "owncloudci/php:7.2",
"image": "owncloudci/php:7.4",
"pull": "always",
"commands": [
"cd /var/www/owncloud/server/apps/files_primary_s3",
Expand Down Expand Up @@ -1772,8 +1771,8 @@ def setupCeph(serviceParams):

return [{
"name": "setup-ceph",
"image": "owncloudci/php:7.2",
"pull": "always",
"image": "owncloudci/php:7.4",
"pull": "always"
"commands": setupCommands + ([
"./apps/files_primary_s3/tests/drone/create-bucket.sh",
] if createFirstBucket else []),
Expand All @@ -1800,7 +1799,7 @@ def setupScality(serviceParams):

return [{
"name": "setup-scality",
"image": "owncloudci/php:7.2",
"image": "owncloudci/php:7.4",
"pull": "always",
"commands": setupCommands + ([
"php occ s3:create-bucket owncloud --accept-warning",
Expand All @@ -1815,7 +1814,7 @@ def setupElasticSearch(esVersion):

return [{
"name": "setup-es",
"image": "owncloudci/php:7.2",
"image": "owncloudci/php:7.4",
"pull": "always",
"commands": [
"cd %s" % dir["server"],
Expand Down Expand Up @@ -2105,7 +2104,7 @@ def installNPM():
def lintTest():
return [{
"name": "lint-test",
"image": "owncloudci/php:7.2",
"image": "owncloudci/php:7.4",
"pull": "always",
"commands": [
"make test-lint",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "owncloud/activity",
"config" : {
"platform": {
"php": "7.1"
"php": "7.3"
}
},
"require": {
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 548d774

Please sign in to comment.