Run coverage analysis in separate step, and save results

Remove CircleCI 1.0 implementation which used scp to contact other
lanes.

Note we can't use an env var in store_artifacts clause
This commit is contained in:
Bryan Boreham committed 2018-07-30 10:18:57 +00:00
1 parent e3576e13a7
commit 1a8794e90f
4 files changed
+29 -22

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
#!/bin/bash
set -e
if [ "$CIRCLE_NODE_INDEX" = "0" ] ; then
go get github.com/mattn/goveralls
goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/test/profile.cov -service=circleci
cd $SRCDIR/test; cp coverage.* $CIRCLE_ARTIFACTS
fi