mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-05 22:02:49 +08:00
fix path
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
2186984e72
commit
39ba4702cc
@ -19,7 +19,6 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- make vet
|
- make vet
|
||||||
- make lint
|
- make lint
|
||||||
- make test
|
|
||||||
- make test-vendor
|
- make test-vendor
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@ -41,7 +40,8 @@ pipeline:
|
|||||||
GOPATH: /srv/app
|
GOPATH: /srv/app
|
||||||
commands:
|
commands:
|
||||||
- make ssh-server
|
- make ssh-server
|
||||||
- coverage all
|
- make test
|
||||||
|
- make coverage
|
||||||
|
|
||||||
codecov:
|
codecov:
|
||||||
image: robertstettner/drone-codecov
|
image: robertstettner/drone-codecov
|
||||||
|
5
Makefile
5
Makefile
@ -125,10 +125,7 @@ endif
|
|||||||
docker push $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE):$(tag)
|
docker push $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE):$(tag)
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
sed -i '/main.go/d' .cover/coverage.txt
|
sed -i '/main.go/d' coverage.txt
|
||||||
curl -s https://codecov.io/bash > .codecov && \
|
|
||||||
chmod +x .codecov && \
|
|
||||||
./.codecov -f .cover/coverage.txt
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(GO) clean -x -i ./...
|
$(GO) clean -x -i ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user