1sudo: false 2language: go 3 4go: 5 - 1.8.x 6 - 1.9.x 7 - tip 8 9matrix: 10 allow_failures: 11 - go: tip 12 fast_finish: true 13 14before_script: 15 - go get -u github.com/golang/lint/golint 16 17script: 18 - go test -v --race ./... 19 20after_script: 21 - test -z "$(gofmt -s -l -w . | tee /dev/stderr)" 22 - test -z "$(golint ./... | tee /dev/stderr)" 23 - go vet ./... 24 25os: 26 - linux 27 - osx 28 29notifications: 30 email: false 31