Added pipeline section to .drone.yml file

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

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

Loading…
Cancel
Save