Skip to content

Commit

Permalink
Re-enabling coverage reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mum4k committed Jan 14, 2022
1 parent 8f493dc commit ab8e6dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -4,20 +4,21 @@ go:
- 1.17.x
- stable
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go get -t ./...
- go get -u golang.org/x/lint/golint
# 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 -mod=mod ./...
- 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) <(./internal/scripts/autogen_licences.sh .)
- diff -u <(echo -n) <(golint ./...)
- $GOPATH/bin/goveralls -service=travis-pro
- $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
env:
global:
- CGO_ENABLED=0
Expand Down

0 comments on commit ab8e6dd

Please sign in to comment.