diff --git a/Makefile b/Makefile index 8e221985ca..6a0cf2be9d 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ _space := $(empty) $(empty) # go cover test variables COVERDIR=.cover -COVERPROFILE=$(COVERDIR)/cover.out +COVERPROFILE?=$(COVERDIR)/cover.out COVERMODE=count PKGS = $(shell go list ./... | tr '\n' ' ') diff --git a/circle.yml b/circle.yml index a40e94b5c5..10a28305d3 100644 --- a/circle.yml +++ b/circle.yml @@ -16,6 +16,8 @@ machine: BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR # Workaround Circle parsing dumb bugs and/or YAML wonkyness CIRCLE_PAIN: "mode: set" + # Put the coverage profile somewhere codecov's script can find it + COVERPROFILE: coverage.out hosts: # Not used yet @@ -72,8 +74,10 @@ test: post: - gvm use stable && make covmerge: timeout: 600 + parallel: true pwd: $BASE_STABLE # Report to codecov.io - # - bash <(curl -s https://codecov.io/bash): - # pwd: $BASE_STABLE + - bash <(curl -s https://codecov.io/bash): + parallel: true + pwd: $BASE_STABLE