Remove CircleCI 1.0 implementation which used scp to contact other lanes. Note we can't use an env var in store_artifacts clause
12 lines
302 B
Bash
Executable File
12 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# 'cover' tool is from github.com/weaveworks/build-tools/cover
|
|
|
|
cover ./coverage/* >profile.cov
|
|
go tool cover -html=profile.cov -o coverage.html
|
|
go tool cover -func=profile.cov -o coverage.txt
|
|
tar czf coverage.tar.gz ./coverage
|