fix: comment coverage check

This commit is contained in:
Bo-Yi Wu 2018-08-15 14:38:13 +08:00
parent bf97ca59ec
commit 24871e0ba9
1 changed files with 23 additions and 23 deletions

View File

@ -62,31 +62,31 @@ pipeline:
commands:
- make build_linux_arm
coverage:
image: golang:1.10
pull: true
group: golang
secrets: [ android_test_token, android_api_key ]
commands:
- make unit-test-coverage
when:
event: [ push, pull_request ]
# coverage:
# image: golang:1.10
# pull: true
# group: golang
# secrets: [ android_test_token, android_api_key ]
# commands:
# - make unit-test-coverage
# when:
# event: [ push, pull_request ]
generate-coverage:
image: golang:1.10
pull: true
commands:
- make coverage
when:
event: [ push, pull_request ]
# generate-coverage:
# image: golang:1.10
# pull: true
# commands:
# - make coverage
# when:
# event: [ push, pull_request ]
codecov:
image: robertstettner/drone-codecov
secrets: [ codecov_token ]
files:
- coverage.all
when:
event: [ push, pull_request ]
# codecov:
# image: robertstettner/drone-codecov
# secrets: [ codecov_token ]
# files:
# - coverage.all
# when:
# event: [ push, pull_request ]
release:
image: golang:1.10