From 0a983586ef972a92c87ee3e87723be107042f757 Mon Sep 17 00:00:00 2001 From: xuzhonghu Date: Tue, 13 Aug 2019 16:51:28 +0800 Subject: [PATCH] Revert code coverage temporarily --- .travis.yml | 4 +--- Makefile | 2 +- README.md | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b465e43af6..66aec6b2fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,10 +21,8 @@ jobs: - make TAG=latest generate-yaml - make verify-generated-yaml - stage: UT Tests - before_script: - - go get github.com/mattn/goveralls script: - - make unit-test && $HOME/gopath/bin/goveralls -coverprofile=coverage.txt -service=travis-ci + - make unit-test - stage: E2E Tests before_script: # Download kubectl diff --git a/Makefile b/Makefile index 1ac867a33e..8141e871c2 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ generate-code: ./hack/update-gencode.sh unit-test: - go list ./... | grep -v e2e | xargs go test -v -cover -covermode atomic -coverprofile coverage.txt -race + go list ./... | grep -v e2e | xargs go test -v -race e2e-test-kind: ./hack/run-e2e-kind.sh diff --git a/README.md b/README.md index 214102fd2d..c82997ebac 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ ------- [![Build Status](https://travis-ci.org/volcano-sh/volcano.svg?branch=master)](https://travis-ci.org/volcano-sh/volcano) -[![Coverage Status](https://coveralls.io/repos/github/volcano-sh/volcano/badge.svg?branch=master)](https://coveralls.io/github/volcano-sh/volcano?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/volcano-sh/volcano)](https://goreportcard.com/report/github.com/volcano-sh/volcano) [![RepoSize](https://img.shields.io/github/repo-size/volcano-sh/volcano.svg)](https://github.com/volcano-sh/volcano) [![Release](https://img.shields.io/github/release/volcano-sh/volcano.svg)](https://github.com/volcano-sh/volcano/releases)