termdash/.travis.yml

18 lines
442 B
YAML
Raw Normal View History

language: go
go:
- 1.9.x
- 1.10.x
- 1.11.x
- stable
script:
- go get -t ./...
2019-02-18 15:05:59 +08:00
- go get -u golang.org/x/lint/golint
- go test ./...
- go test -race ./...
- go vet ./...
- diff -u <(echo -n) <(gofmt -d -s .)
2018-07-02 05:23:35 +08:00
- diff -u <(echo -n) <(./scripts/autogen_licences.sh .)
2019-02-18 15:05:59 +08:00
- diff -u <(echo -n) <(golint ./...)
after_success:
- ./scripts/coverage.sh