forked from appleboy/gin-jwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
56 lines (49 loc) · 987 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
workspace:
base: /go/src
path: github.com/appleboy/gin-jwt
pipeline:
vendor:
image: golang:1.10
pull: true
commands:
- make install
build:
image: golang:1.10
pull: true
group: testing
commands:
- make embedmd-check
- make vet
- make fmt-check
lint:
image: golang:1.10
pull: true
group: testing
commands:
- make lint
coverage:
image: golang:1.10
pull: true
group: testing
commands:
- make unit-test-coverage
generate-coverage:
image: golang:1.10
pull: true
commands:
- make coverage
when:
event: [ push, pull_request ]
codecov:
image: robertstettner/drone-codecov
secrets: [ codecov_token ]
files:
- coverage.all
when:
event: [ push, pull_request ]
discord:
image: appleboy/drone-discord
pull: true
secrets: [ discord_webhook_id, discord_webhook_token ]
when:
status: [ success, failure ]