Commit ab8e6dd 1 parent 8f493dc commit ab8e6dd Copy full SHA for ab8e6dd
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
- 1.17.x
5
5
- stable
6
6
before_install :
7
+ - go get golang.org/x/tools/cmd/cover
7
8
- go get github.com/mattn/goveralls
8
9
script :
9
10
- go get -t ./...
10
11
- go get -u golang.org/x/lint/golint
11
12
# Temporarily set -mod=mod to allow modification of go.mod and go.sum.
12
13
# This seems to be caused by a sum missing in the tcell dependency and
13
14
# should be removed when no longer needed.
14
- - go test -mod=mod ./...
15
+ - go test -v -covermode=count -coverprofile=coverage.out - mod=mod ./...
15
16
- CGO_ENABLED=1 go test -mod=mod -race ./...
16
17
- go vet ./...
17
18
- diff -u <(echo -n) <(gofmt -d -s .)
18
19
- diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .)
19
20
- diff -u <(echo -n) <(golint ./...)
20
- - $GOPATH/bin/goveralls -service=travis-pro
21
+ - $GOPATH/bin/goveralls -coverprofile=coverage.out - service=travis-ci -repotoken $COVERALLS_TOKEN
21
22
env :
22
23
global :
23
24
- CGO_ENABLED=0
You can’t perform that action at this time.
0 commit comments