add: -race in test script
This commit is contained in:
parent
66c7cdc2f4
commit
c0bf080544
|
@ -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)
|
Reference in New Issue