Added pipeline section to .drone.yml file

pull/1/head
josebarn 8 years ago
parent edd5233a0c
commit fe74afa94c

@ -1,12 +1,16 @@
build: workspace:
image: golang:1.5 base: /go
environment: path: src/github.com/josebarn/drone-with-go
- GO15VENDOREXPERIMENT=1 pipeline:
- CGO_ENABLED=0 build:
commands: image: golang:1.5
- go test -cover -coverprofile coverage.out environment:
- GO15VENDOREXPERIMENT=1
- CGO_ENABLED=0
commands:
- go test -cover -coverprofile coverage.out
publish: publish:
coverage: coverage:
when: when:
branch: master branch: master

Loading…
Cancel
Save