pipeline: build: image: golang:1.5 environment: - GO15VENDOREXPERIMENT=1 - CGO_ENABLED=0 commands: - go test -cover -coverprofile coverage.out publish: coverage: when: branch: master