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 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: