Skip to content

Commit cf89470

Browse files
committed
Add drone as a provider
1 parent c40790d commit cf89470

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tasks/crossbow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ class Task(Serializable):
691691
"""
692692

693693
def __init__(self, ci, template, artifacts=None, params=None):
694-
assert ci in {'circle', 'travis', 'appveyor', 'azure', 'github'}
694+
assert ci in {'circle', 'travis', 'appveyor', 'azure', 'github', 'drone'}
695695
self.ci = ci
696696
self.template = template
697697
self.artifacts = artifacts or []
@@ -733,6 +733,7 @@ def filename(self):
733733
'appveyor': 'appveyor.yml',
734734
'azure': 'azure-pipelines.yml',
735735
'github': '.github/workflows/crossbow.yml',
736+
'drone': '.drone.yml',
736737
}
737738
return config_files[self.ci]
738739

0 commit comments

Comments
 (0)