language: go go: - 1.7.x - 1.8.x - 1.9.x - tip install: - go get -u golang.org/x/tools/cmd/goimports - go get -u github.com/golang/lint/golint script: - go get -d -t ./... - go vet ./... - golint ./... - go test ./... - > goimports -d -e ./ | grep '.*' && { echo; echo "Aborting due to non-empty goimports output."; exit 1; } || :