2019-06-06 00:40:29 +02:00
|
|
|
language: go
|
2019-06-20 07:39:19 +02:00
|
|
|
|
2019-06-06 00:40:29 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-06-20 07:39:19 +02:00
|
|
|
- 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:
|
2019-06-06 00:40:29 +02:00
|
|
|
- go: tip
|
|
|
|
|
|
|
|
install:
|
|
|
|
- # Skip
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
2019-06-20 07:39:19 +02:00
|
|
|
- if [[ "$LATEST" = true ]]; then go vet .; fi
|
2019-06-06 00:40:29 +02:00
|
|
|
- go test -v -race ./...
|