Improved tests

This commit is contained in:
Eduard Urbach 2019-09-06 08:35:35 +09:00
parent 8244298013
commit 49547cc3b8
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
2 changed files with 8 additions and 5 deletions

View File

@ -3,16 +3,19 @@ name: default
steps:
- name: test
image: animenotifier/notify.moe
image: golang
environment:
GO111MODULE: on
ARN_ROOT: /drone/src
commands:
- go version
- go mod download
- tsc
- pack
- go build -v
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
- nvm install node
- npm install -g typescript
- make tools
- make assets
- make server
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
- golangci-lint run
- go test -v -coverprofile=coverage.txt .

View File

@ -23,7 +23,7 @@ endif
# Build targets
server:
@go build
@go build -v
deps:
go mod download
jobs: