1
0
mirror of https://github.com/beego/bee.git synced 2024-11-23 22:10:54 +00:00

update .travis.yml

This commit is contained in:
John 2021-02-06 20:22:05 +08:00
parent d995fc5328
commit 7f80477761

View File

@ -12,6 +12,7 @@ script:
- cd $(dirname `dirname $(pwd)`)/beego/bee - cd $(dirname `dirname $(pwd)`)/beego/bee
- export GO111MODULE="on" - export GO111MODULE="on"
- go mod download - go mod download
- go test -coverprofile=coverage.txt -covermode=atomic ./...
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s - find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
- go list ./... | grep -v /vendor/ | grep -v /pkg/mod/ - go list ./... | grep -v /vendor/ | grep -v /pkg/mod/
- go vet $(go list ./... | grep -v /vendor/ | grep -v /pkg/mod/ ) - go vet $(go list ./... | grep -v /vendor/ | grep -v /pkg/mod/ )