Merge pull request #1 from josebarn/test-pr-branch

Test pr branch finally building with simple build and test - next stop integration test
pull/2/head
Joseph Barnett 8 years ago committed by GitHub
commit 5d1a8bcb2a

@ -1,12 +1,12 @@
pipeline:
build: build:
image: golang:1.5 image: ${IMAGE}
environment:
- GO15VENDOREXPERIMENT=1
- CGO_ENABLED=0
commands: commands:
- go test -cover -coverprofile coverage.out - go build
- go test
publish: matrix:
coverage: IMAGE:
when: - golang:1.7
branch: master - golang:1.8
- golang:latest

@ -1,3 +1,5 @@
# drone-with-go [![Build Status](http://beta.drone.io/api/badges/drone-demos/drone-with-go/status.svg)](http://beta.drone.io/drone-demos/drone-with-go) [![Build Status](https://aircover.co/badges/drone-demos/drone-with-go/coverage.svg)](https://aircover.co/drone-demos/drone-with-go) # drone-with-go [![Build Status](http://beta.drone.io/api/badges/drone-demos/drone-with-go/status.svg)](http://beta.drone.io/drone-demos/drone-with-go) [![Build Status](https://aircover.co/badges/drone-demos/drone-with-go/coverage.svg)](https://aircover.co/drone-demos/drone-with-go)
An example of how to test Go code with Drone. An example of how to test Go code with Drone.
Inspect the .drone.yml file for details on the build steps for this simple go project.

Loading…
Cancel
Save