refactor: add group build for drone. (#271)
This commit is contained in:
parent
770aee9859
commit
4a15a1a23f
29
.drone.yml
29
.drone.yml
|
@ -9,18 +9,39 @@ clone:
|
||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
deps:
|
||||||
image: appleboy/golang-testing
|
image: appleboy/golang-testing
|
||||||
secrets: [ android_test_token, android_api_key ]
|
group: golang
|
||||||
commands:
|
commands:
|
||||||
- make deps
|
- make deps
|
||||||
|
- make embedmd
|
||||||
|
|
||||||
|
lint:
|
||||||
|
image: appleboy/golang-testing
|
||||||
|
group: golang
|
||||||
|
commands:
|
||||||
- make vet
|
- make vet
|
||||||
- make lint
|
- make lint
|
||||||
- make build
|
|
||||||
- make embedmd
|
vendor:
|
||||||
|
image: appleboy/golang-testing
|
||||||
|
group: golang
|
||||||
|
commands:
|
||||||
- make test-vendor
|
- make test-vendor
|
||||||
- make misspell-check
|
- make misspell-check
|
||||||
- make fmt-check
|
- make fmt-check
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: appleboy/golang-testing
|
||||||
|
group: golang
|
||||||
|
commands:
|
||||||
|
- make build
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
image: appleboy/golang-testing
|
||||||
|
group: golang
|
||||||
|
secrets: [ android_test_token, android_api_key ]
|
||||||
|
commands:
|
||||||
- coverage all
|
- coverage all
|
||||||
|
|
||||||
codecov:
|
codecov:
|
||||||
|
|
Loading…
Reference in New Issue