Skip to content

Commit 4efbf3f

Browse files
author
Costin Bleotu
committed
drone - notify via slack
1 parent 9388996 commit 4efbf3f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.drone.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,24 @@ pipeline:
66
- pip install -r test_requirements.txt
77
- python tests/interface_test.py
88

9+
10+
slack:
11+
image: plugins/slack
12+
webhook: https://hooks.slack.com/services/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
13+
channel: python-gogs-client
14+
template: >
15+
{{#success build.status}}
16+
build {{build.number}} succeeded. Good job.
17+
{{else}}
18+
build {{build.number}} failed. Fix me please.
19+
{{/success}}
20+
921
matrix:
1022
PYTHON_VERSION:
1123
- 2.7
1224
- 3.3
1325
- 3.4
1426
- 3.5
1527

16-
branches: [ master, feature/* ]
28+
branches: [ master, feature/* ]
29+

0 commit comments

Comments
 (0)