Testing own docker image
This commit is contained in:
parent
43cdc77198
commit
dbf3f65fdd
25
.drone.yml
25
.drone.yml
@ -3,24 +3,29 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: golang
|
image: animenotifier/notify.moe
|
||||||
environment:
|
environment:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
commands:
|
commands:
|
||||||
- go version
|
- go version
|
||||||
- go mod download
|
- 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
|
- tsc
|
||||||
- pack
|
- pack
|
||||||
- make server
|
- go build
|
||||||
- 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
|
|
||||||
- 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
|
||||||
|
# - 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
|
||||||
|
# - go test -v -coverprofile=coverage.txt ./...
|
||||||
|
|
||||||
- name: coverage
|
- name: coverage
|
||||||
image: plugins/codecov
|
image: plugins/codecov
|
||||||
|
Loading…
Reference in New Issue
Block a user