Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
add gocov tool
Browse files Browse the repository at this point in the history
This allows us to convert the coverage report generated by go to Cobertura
  • Loading branch information
jchauncey committed Apr 3, 2018
1 parent fd5cdcc commit fd1a0e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ SHELL_SCRIPTS = /usr/local/bin/test-cover.sh
DEV_ENV_PREFIX := docker run --rm
DEV_ENV_CMD := ${DEV_ENV_PREFIX} ${IMAGE}

info:
@echo "REGISTRY: ${REGISTRY}"
@echo "VERSION: ${VERSION}"
@echo "IMAGE: ${IMAGE}"

build:
docker build -t ${IMAGE} rootfs

Expand Down
2 changes: 2 additions & 0 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
github.com/haya14busa/goverage \
github.com/constabulary/gb/... \
github.com/dgrijalva/jwt-go/cmd/jwt \
github.com/axw/gocov/gocov \
github.com/AlekSi/gocov-xml \
&& gometalinter --install \
&& pip install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
&& apt-get purge --auto-remove -y libffi-dev python-dev python-pip
Expand Down

0 comments on commit fd1a0e6

Please sign in to comment.