Merge pull request #1 from josebarn/test-pr-branch
Test pr branch finally building with simple build and test - next stop integration testpull/2/head
commit
5d1a8bcb2a
@ -1,12 +1,12 @@
|
|||||||
build:
|
pipeline:
|
||||||
image: golang:1.5
|
build:
|
||||||
environment:
|
image: ${IMAGE}
|
||||||
- GO15VENDOREXPERIMENT=1
|
commands:
|
||||||
- CGO_ENABLED=0
|
- go build
|
||||||
commands:
|
- go test
|
||||||
- go test -cover -coverprofile coverage.out
|
|
||||||
|
|
||||||
publish:
|
matrix:
|
||||||
coverage:
|
IMAGE:
|
||||||
when:
|
- golang:1.7
|
||||||
branch: master
|
- golang:1.8
|
||||||
|
- golang:latest
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
# drone-with-go [](http://beta.drone.io/drone-demos/drone-with-go) [](https://aircover.co/drone-demos/drone-with-go)
|
# drone-with-go [](http://beta.drone.io/drone-demos/drone-with-go) [](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…
Reference in New Issue