2014-11-07 23:45:51 +00:00
|
|
|
image: bradrydzewski/go:1.3
|
|
|
|
|
|
|
|
env:
|
|
|
|
- GOROOT=/usr/local/go
|
|
|
|
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go get github.com/axw/gocov/gocov
|
|
|
|
- go get github.com/mattn/goveralls
|
|
|
|
- go get github.com/golang/lint/golint
|
|
|
|
|
|
|
|
- go get -d -t ./...
|
|
|
|
|
|
|
|
- hack/validate_gofmt.sh
|
2014-11-17 21:07:58 +00:00
|
|
|
- goveralls -v -service drone.io -repotoken {{COVERALLS_TOKEN}}
|
2014-11-07 23:45:51 +00:00
|
|
|
- go vet ./...
|
|
|
|
- golint ./...
|
|
|
|
- go test -v ./...
|
|
|
|
# - go build --tags SOMETAG
|
|
|
|
|
|
|
|
notify:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- distribution@docker.com
|
2014-11-13 23:40:06 +00:00
|
|
|
|
2014-11-07 23:45:51 +00:00
|
|
|
slack:
|
|
|
|
team: docker
|
|
|
|
channel: "#distribution"
|
|
|
|
username: mom
|
|
|
|
token: cwX6NE0KKYYQnZJVRaYWGxxJ
|
|
|
|
on_success: true
|
|
|
|
on_failure: true
|