diff options
author | James Mills <prologic@shortcircuit.net.au> | 2018-12-31 23:23:50 +1000 |
---|---|---|
committer | James Mills <prologic@shortcircuit.net.au> | 2018-12-31 23:24:17 +1000 |
commit | 57877cbafa1a62d90f1db81796348a09e82f9ff7 (patch) | |
tree | 7b111deb903644e3d55caf1355595df76224eb4e /.drone.yml | |
parent | Add related projects to README (diff) | |
download | gopherproxy-57877cbafa1a62d90f1db81796348a09e82f9ff7.tar.gz gopherproxy-57877cbafa1a62d90f1db81796348a09e82f9ff7.tar.bz2 gopherproxy-57877cbafa1a62d90f1db81796348a09e82f9ff7.zip |
Migrate to Drone CI, Codecov and Go11Modules
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 | ||