From 39ba4702ccad8ac3a64baed48d2064a6d57f0130 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 15 Aug 2017 14:51:10 +0800 Subject: [PATCH] fix path Signed-off-by: Bo-Yi Wu --- .drone.yml | 4 ++-- Makefile | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index c7b6095..6218d59 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Makefile b/Makefile index ac3fc90..69cb35e 100644 --- a/Makefile +++ b/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 ./...