30 lines
386 B
YAML
30 lines
386 B
YAML
sudo: false
|
|
language: go
|
|
|
|
go:
|
|
- 1.5.4
|
|
- 1.6.1
|
|
- 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
|