mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +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:
|
||||
- make vet
|
||||
- make lint
|
||||
- make test
|
||||
- make test-vendor
|
||||
|
||||
build:
|
||||
@ -41,7 +40,8 @@ pipeline:
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make ssh-server
|
||||
- coverage all
|
||||
- make test
|
||||
- make coverage
|
||||
|
||||
codecov:
|
||||
image: robertstettner/drone-codecov
|
||||
|
5
Makefile
5
Makefile
@ -125,10 +125,7 @@ endif
|
||||
docker push $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE):$(tag)
|
||||
|
||||
coverage:
|
||||
sed -i '/main.go/d' .cover/coverage.txt
|
||||
curl -s https://codecov.io/bash > .codecov && \
|
||||
chmod +x .codecov && \
|
||||
./.codecov -f .cover/coverage.txt
|
||||
sed -i '/main.go/d' coverage.txt
|
||||
|
||||
clean:
|
||||
$(GO) clean -x -i ./...
|
||||
|
Loading…
Reference in New Issue
Block a user