From c0bf080544ee75bc81b7cc851011ce4ef749cea2 Mon Sep 17 00:00:00 2001 From: Weilin Shi <934587911@qq.com> Date: Sat, 23 Sep 2017 12:50:37 +0800 Subject: [PATCH] add: -race in test script --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7df6721..f28520f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ go: - 1.9 script: - - go test -coverprofile=coverage.txt -covermode=atomic + - go test -race -coverprofile=coverage.txt -covermode=atomic after_success: - bash <(curl -s https://codecov.io/bash) \ No newline at end of file