Re-enable pushing coverage reports to codecov.io

Signed-off-by: Ying Li <ying.li@docker.com>
This commit is contained in:
Ying Li 2015-11-30 15:32:22 -08:00
parent cb2b2951e0
commit 555a46d8f8
2 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,7 @@ _space := $(empty) $(empty)
# go cover test variables # go cover test variables
COVERDIR=.cover COVERDIR=.cover
COVERPROFILE=$(COVERDIR)/cover.out COVERPROFILE?=$(COVERDIR)/cover.out
COVERMODE=count COVERMODE=count
PKGS = $(shell go list ./... | tr '\n' ' ') PKGS = $(shell go list ./... | tr '\n' ' ')

View File

@ -16,6 +16,8 @@ machine:
BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR
# Workaround Circle parsing dumb bugs and/or YAML wonkyness # Workaround Circle parsing dumb bugs and/or YAML wonkyness
CIRCLE_PAIN: "mode: set" CIRCLE_PAIN: "mode: set"
# Put the coverage profile somewhere codecov's script can find it
COVERPROFILE: coverage.out
hosts: hosts:
# Not used yet # Not used yet
@ -69,11 +71,10 @@ test:
timeout: 600 timeout: 600
pwd: $BASE_STABLE pwd: $BASE_STABLE
post:
- gvm use stable && make covmerge: - gvm use stable && make covmerge:
timeout: 600 timeout: 600
pwd: $BASE_STABLE pwd: $BASE_STABLE
# Report to codecov.io # Report to codecov.io
# - bash <(curl -s https://codecov.io/bash): - bash <(curl -s https://codecov.io/bash):
# pwd: $BASE_STABLE pwd: $BASE_STABLE