Updated test

This commit is contained in:
Eduard Urbach 2019-09-11 09:18:38 +09:00
parent d045c8a1c5
commit 6046410b7d
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -5,9 +5,10 @@ steps:
- name: test - name: test
image: archlinux/base image: archlinux/base
environment: environment:
CGO_ENABLED: 0
ARN_ROOT: /drone/src ARN_ROOT: /drone/src
commands: commands:
- pacman -Syu --noconfirm go nodejs npm - pacman -Syu --noconfirm go nodejs npm make
- go version - go version
- npm install -g typescript - npm install -g typescript
- go mod download - go mod download
@ -18,17 +19,6 @@ steps:
- golangci-lint run - golangci-lint run
- make db - make db
- go test -v -coverprofile=coverage.txt . - go test -v -coverprofile=coverage.txt .
# - go mod download
# - 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
# - make bots jobs patches
# - git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
# - go test -v -coverprofile=coverage.txt ./...
- name: coverage - name: coverage
image: plugins/codecov image: plugins/codecov