From 5c717978d9eb8d5f3637aea003003250a76f5db7 Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Tue, 10 Nov 2015 12:06:57 +0000 Subject: [PATCH] Run coverage reporting in post test stage, as teardown is run after the other shard has gone away. --- circle.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/circle.yml b/circle.yml index f5839419d..a1e3da259 100644 --- a/circle.yml +++ b/circle.yml @@ -60,9 +60,6 @@ test: post: - test -z "$SECRET_PASSWORD" || (cd $SRCDIR/integration; ./gce.sh destroy): parallel: true - -teardown: - pre: - test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR; ./tools/cover/gather_coverage.sh ./coverage $SRCDIR/coverage): parallel: true - test "$CIRCLE_NODE_INDEX" != "0" || (goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/profile.cov -service=circleci || true):