1language: go
2
3go:
4  - 1.x
5
6env:
7  - CGO_ENABLED=0
8
9install:
10  - go get -t ./...
11  - go get github.com/golang/lint/golint
12  - go get github.com/gordonklaus/ineffassign
13
14script:
15  - diff <(echo -n) <(gofmt -s -d .)
16  - ineffassign .
17  - go vet ./...
18  - go test ./...
19
20after_script:
21  - golint ./...
22