For 3rd parties building binary packages, and for build consistency in general, it is very helpful to have the same set of dependencies at any time the product is built. See [tools/godep](https://github.com/tools/godep) for further details.
29 lines
376 B
YAML
29 lines
376 B
YAML
sudo: false
|
|
language: go
|
|
|
|
go:
|
|
- 1.6.3
|
|
- tip
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
|
|
before_script:
|
|
- go get -u github.com/golang/lint/golint
|
|
|
|
script:
|
|
- go test -v --race ./...
|
|
|
|
after_script:
|
|
- test -z "$(gofmt -s -l -w . | tee /dev/stderr)"
|
|
- test -z "$(golint ./... | tee /dev/stderr)"
|
|
- go vet ./...
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
notifications:
|
|
email: false
|