From f9a0ba82a0a6df573f51a081dc2130786cd4d701 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 19 Mar 2016 22:24:03 +0000 Subject: [PATCH] collect coverage data from ci nodes before teardown Fixes #2071. --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 98a5dccc..3262c3df 100644 --- a/circle.yml +++ b/circle.yml @@ -44,11 +44,11 @@ test: post: - cd $SRCDIR/test; ./gce.sh destroy: parallel: true + - test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR/test; ./gen_coverage_reports.sh): + parallel: true teardown: pre: - - test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR/test; ./gen_coverage_reports.sh): - parallel: true - test "$CIRCLE_NODE_INDEX" != "0" || (go get github.com/mattn/goveralls && goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/test/profile.cov -service=circleci || true): parallel: true - test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR/test; cp coverage.* $CIRCLE_ARTIFACTS):