diff options
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0065a03 --- /dev/null +++ b/.drone.yml | |||
@@ -0,0 +1,22 @@ | |||
1 | kind: pipeline | ||
2 | name: default | ||
3 | |||
4 | steps: | ||
5 | - name: build | ||
6 | image: golang:latest | ||
7 | commands: | ||
8 | - make test | ||
9 | |||
10 | - name: coverage | ||
11 | image: plugins/codecov | ||
12 | settings: | ||
13 | token: | ||
14 | from_secret: codecov-token | ||
15 | |||
16 | - name: notify | ||
17 | image: plugins/webhook | ||
18 | urls: https://msgbus.mills.io/ci.mills.io | ||
19 | when: | ||
20 | status: | ||
21 | - success | ||
22 | - failure | ||