From 0ad87c6ff66d60e619427f47fce3c7da1a614f38 Mon Sep 17 00:00:00 2001 From: c-bata Date: Thu, 25 Oct 2018 19:10:26 +0900 Subject: [PATCH] Remove race-test command from Makefile --- .travis.yml | 1 - Makefile | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 00cc794..e1dde98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,3 @@ script: - diff <(goimports -d .) <(echo -n "") - make lint - make test - - make race-test diff --git a/Makefile b/Makefile index 3c91143..f0b6869 100644 --- a/Makefile +++ b/Makefile @@ -19,18 +19,14 @@ lint: ## Run golint and go vet. @go vet . .PHONY: test -test: ## Run the tests. - @go test . +test: ## Run the tests with race condition checking. + @go test -race . .PHONY: coverage cover: ## Run the tests. @go test -coverprofile=coverage.o @go tool cover -func=coverage.o -.PHONY: race-test -race-test: ## Checking the race condition. - @go test -race . - .PHONY: help help: ## Show help text @echo "Commands:"