Updated test build

This commit is contained in:
Eduard Urbach 2019-04-28 19:52:48 +09:00
parent 562d45c941
commit 5eaa71bb37

View File

@ -8,12 +8,12 @@ steps:
GO111MODULE: on GO111MODULE: on
commands: commands:
- go version - go version
- go mod download
- go get ./... - go get ./...
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0 - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
- golangci-lint run - golangci-lint run
- git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn - git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
- make tools - make tools
- go mod download
- make server bots jobs patches - make server bots jobs patches
- go test -v -coverprofile=coverage.txt ./... - go test -v -coverprofile=coverage.txt ./...