Run coverage reporting in post test stage, as teardown is run after the other shard has gone away.

This commit is contained in:
Tom Wilkie
2015-11-10 12:06:57 +00:00
parent 2dcc085dc8
commit 5c717978d9
-3
View File
@@ -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):