8ad7819b1b
Removes "go get" commands for go cmd packages to use the default versions Also updates client/client.go to conform to go vet style
32 lines
683 B
YAML
32 lines
683 B
YAML
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
|
|
- goveralls -v -service drone.io -repotoken {{COVERALLS_TOKEN}}
|
|
- go vet ./...
|
|
- golint ./...
|
|
- go test -v ./...
|
|
# - go build --tags SOMETAG
|
|
|
|
notify:
|
|
email:
|
|
recipients:
|
|
- distribution@docker.com
|
|
|
|
slack:
|
|
team: docker
|
|
channel: "#distribution"
|
|
username: mom
|
|
token: cwX6NE0KKYYQnZJVRaYWGxxJ
|
|
on_success: true
|
|
on_failure: true
|