forked from appleboy/gin-jwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
49 lines (43 loc) · 910 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
pipeline:
restore_cache:
image: appleboy/drone-sftp-cache
pull: true
restore: true
mount: [ .glide, vendor ]
ignore_branch: true
build:
image: appleboy/golang-testing:${GO_VERSION}
environment:
- GOPATH=/go
commands:
- make install
- make vet
- make lint
- coverage all
- make coverage
line:
image: appleboy/drone-line
pull: true
to: u359650f919427b5229330c7205c47ee4
when:
status: [ success, failure ]
facebook:
image: appleboy/drone-facebook
pull: true
to: 1234973386524610
when:
status: [ success, failure ]
rebuild_cache:
image: appleboy/drone-sftp-cache
pull: true
rebuild: true
mount: [ .glide, vendor ]
ignore_branch: true
when:
branch: master
workspace:
path: /go/src/github.com/appleboy/gin-jwt
matrix:
GO_VERSION:
- 1.6.4
- 1.7.4