1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00
termdash/.travis.yml
Jakub Sobon a9e894f4c1
Temporarily disable older golang builds and gofmt step.
Signed-off-by: Jakub Sobon <jakub.sobon@elohim.sk>
2023-02-08 13:08:25 -05:00

24 lines
853 B
YAML

language: go
go:
#- 1.16.x
#- 1.17.x
- stable
before_install:
- go install golang.org/x/tools/cmd/cover@latest
- go install github.com/mattn/goveralls@latest
- go install golang.org/x/lint/golint@latest
script:
- go get -t ./...
# Temporarily set -mod=mod to allow modification of go.mod and go.sum.
# This seems to be caused by a sum missing in the tcell dependency and
# should be removed when no longer needed.
- go test -v -covermode=count -coverprofile=coverage.out -mod=mod ./...
- CGO_ENABLED=1 go test -mod=mod -race ./...
- go vet ./...
#- diff -u <(echo -n) <(gofmt -d -s .)
- diff -u <(echo -n) <(./private/scripts/autogen_licences.sh .)
- diff -u <(echo -n) <(golint ./...)
env:
global:
- CGO_ENABLED=0