Skip to content

Commit

Permalink
Update Drone
Browse files Browse the repository at this point in the history
  • Loading branch information
dwin committed Mar 11, 2019
1 parent 72c3591 commit ec87abc
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,26 @@ steps:
- name: test-alpine_latest
image: golang:alpine
pull: always
volumes:
- name: cache
path: /tmp/cache
commands:
- apk add --update bash build-base
- go test -coverprofile=coverage.txt -covermode=atomic ./...
- go test -coverprofile=/tmp/cache/coverage.txt -covermode=atomic ./...
- bash <(curl -s https://codecov.io/bash)
# - name: coverage
# image: plugins/codecov
# settings:
# required: true
# token:
# from_secret: codecov_token
# files:
# - coverage.txt

- name: coverage
image: plugins/codecov
volumes:
- name: cache
path: /tmp/cache
settings:
required: true
token:
from_secret: codecov_token
files:
- /tmp/cache/coverage.txt

volumes:
- name: cache
temp: {}

0 comments on commit ec87abc

Please sign in to comment.