forked from appleboy/gin-jwt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.drone.yml
More file actions
34 lines (30 loc) · 647 Bytes
/
Copy path.drone.yml
File metadata and controls
34 lines (30 loc) · 647 Bytes
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
workspace:
base: /go/src
path: github.com/appleboy/gin-jwt
pipeline:
build:
image: appleboy/golang-testing:${GO_VERSION}
commands:
- make install
- make embedmd
- make vet
- make lint
- make fmt-check
- coverage all
codecov:
image: robertstettner/drone-codecov
secrets: [ codecov_token ]
files:
- .cover/coverage.txt
when:
event: [ push, pull_request ]
discord:
image: appleboy/drone-discord
pull: true
secrets: [ discord_webhook_id, discord_webhook_token ]
when:
status: [ success, failure ]
matrix:
GO_VERSION:
- 1.8.4
- 1.9.1