drone-codecov
Drone plugin to send coverage reports to Codecov. For the usage information and a listing of the available options please take a look at the docs.
Build
Build the binary with the following commands:
go build
Docker
Build the Docker image with the following commands:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-codecov
docker build --rm -t plugins/codecov .
Usage
docker run --rm \
-e PLUGIN_TOKEN=xxx \
-e DRONE_COMMIT=5f17090 \
-v $(pwd):$(pwd) \
-w $(pwd) \
plugins/codecov