refactor: add group build for drone. (#271)

This commit is contained in:
Bo-Yi Wu 2017-08-15 12:26:00 +08:00 committed by GitHub
parent 770aee9859
commit 4a15a1a23f
1 changed files with 25 additions and 4 deletions

View File

@ -9,18 +9,39 @@ clone:
tags: true
pipeline:
build:
deps:
image: appleboy/golang-testing
secrets: [ android_test_token, android_api_key ]
group: golang
commands:
- make deps
- make embedmd
lint:
image: appleboy/golang-testing
group: golang
commands:
- make vet
- make lint
- make build
- make embedmd
vendor:
image: appleboy/golang-testing
group: golang
commands:
- make test-vendor
- make misspell-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
codecov: