Enable codecov

This commit is contained in:
ErickSkrauch 2019-04-30 14:31:04 +03:00
parent 4386054ca1
commit b97647318f
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -20,7 +20,8 @@ jobs:
include:
- stage: test
script:
- go test -v -race ./...
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- bash <(curl -s https://codecov.io/bash)
- stage: deploy
script:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"