mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Fix how CI is triggered
This commit is contained in:
parent
92535e654b
commit
2ccca759ce
16
.drone.yml
16
.drone.yml
@ -5,12 +5,6 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: build & run tests
|
- name: build & run tests
|
||||||
image: r.mills.io/prologic/golang-alpine
|
image: r.mills.io/prologic/golang-alpine
|
||||||
volumes:
|
|
||||||
- name: gomodcache
|
|
||||||
path: /go/pkg/mod/cache
|
|
||||||
privileged: true
|
|
||||||
environment:
|
|
||||||
GOPROXY: https://goproxy.mills.io
|
|
||||||
commands:
|
commands:
|
||||||
- make build
|
- make build
|
||||||
- make test
|
- make test
|
||||||
@ -25,7 +19,9 @@ steps:
|
|||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
volumes:
|
trigger:
|
||||||
- name: gomodcache
|
branch:
|
||||||
host:
|
- master
|
||||||
path: /var/lib/cache/go
|
event:
|
||||||
|
- tag
|
||||||
|
- pull_request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user