1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
language: go matrix: include: - go: 1.7.x - go: 1.8.x - go: 1.9.x - go: 1.10.x - go: 1.11.x - go: 1.x env: LATEST=true - go: tip allow_failures: - go: tip install: - # Skip script: - go get -t -v ./... - diff -u <(echo -n) <(gofmt -d .) - if [[ "$LATEST" = true ]]; then go vet .; fi - go test -v -race ./...