From 29b2861c0be859a732fb45b0ccf0baafecc98b02 Mon Sep 17 00:00:00 2001 From: Changkun Ou Date: Wed, 17 Jul 2019 16:12:20 +0200 Subject: [PATCH] update: submit test result to codecov --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index df200c1..f5a6465 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,10 @@ language: go -script: +before_install: - make tests +script: + - go test -v -race -timeout 60m -coverprofile=coverage.txt -covermode=atomic ./... + after_success: - bash <(curl -s https://codecov.io/bash) \ No newline at end of file