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: include:
- stage: test - stage: test
script: script:
- go test -v -race ./... - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- bash <(curl -s https://codecov.io/bash)
- stage: deploy - stage: deploy
script: script:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"