From f288a56528d28150740b210f19713d3b9487a9aa Mon Sep 17 00:00:00 2001 From: KIMSJ Date: Sun, 16 Jun 2019 23:39:19 +0900 Subject: [PATCH] feat : fix travis --- travis/run_on_non_pull_requests.sh | 4 ++-- travis/run_on_pull_requests.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/travis/run_on_non_pull_requests.sh b/travis/run_on_non_pull_requests.sh index 6220456..1a5fcff 100644 --- a/travis/run_on_non_pull_requests.sh +++ b/travis/run_on_non_pull_requests.sh @@ -9,7 +9,7 @@ exit 1 fi # run go test -go test -v -mod=vendor ./... +go test -mod=vendor ./... if [ $? -ne 0 ]; then echo "go test fail" >&2 @@ -17,7 +17,7 @@ exit 1 fi # generate go test coverage file -go test -v -mod=vendor ./... -covermode=count -coverprofile=coverage.out +go test -mod=vendor ./... -covermode=count -coverprofile=coverage.out if [ $? -ne 0 ]; then echo "go test coverage fail" >&2 diff --git a/travis/run_on_pull_requests.sh b/travis/run_on_pull_requests.sh index 5d72bf6..0122277 100644 --- a/travis/run_on_pull_requests.sh +++ b/travis/run_on_pull_requests.sh @@ -9,7 +9,7 @@ exit 1 fi # run go test -go test -v -mod=vendor ./... +go test -mod=vendor ./... if [ $? -ne 0 ]; then echo "go test fail" >&2 @@ -17,7 +17,7 @@ exit 1 fi # go test with race condition option and check coverage -go test ./... -race -coverprofile cover.out -covermode=atomic +go test ./... -race -p 1 -coverprofile cover.out -covermode=atomic if [ $? -ne 0 ]; then echo "go test coverage fail" >&2