termdash/.travis.yml

19 lines
458 B
YAML
Raw Normal View History

language: go
go:
- 1.11.x
- 1.12.x
2020-03-07 23:35:02 +08:00
- 1.13.x
- stable
script:
- go get -t ./...
2019-02-18 15:05:59 +08:00
- go get -u golang.org/x/lint/golint
- go test ./...
- CGO_ENABLED=1 go test -race ./...
- go vet ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .)
2019-02-18 15:05:59 +08:00
- diff -u <(echo -n) <(golint ./...)
env:
global:
2020-06-21 02:31:30 +08:00
- CGO_ENABLED=0