Edited test script

This commit is contained in:
Eduard Urbach 2019-04-28 20:01:29 +09:00
parent 5eaa71bb37
commit 43cdc77198

View File

@ -9,12 +9,17 @@ steps:
commands:
- go version
- go mod download
- go get ./...
- make tools
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
- nvm install node
- npm install -g typescript
- tsc
- pack
- make server
- 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
- make bots jobs patches
- git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
- make tools
- make server bots jobs patches
- go test -v -coverprofile=coverage.txt ./...
- name: coverage