add: -race in test script

This commit is contained in:
Weilin Shi 2017-09-23 12:50:37 +08:00
parent 66c7cdc2f4
commit c0bf080544
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ go:
- 1.9 - 1.9
script: script:
- go test -coverprofile=coverage.txt -covermode=atomic - go test -race -coverprofile=coverage.txt -covermode=atomic
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)