From 8540172306a39f25dcfe5426b305537e9d4ff38f Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Wed, 19 Feb 2020 21:11:03 -0800 Subject: [PATCH] Update travis.yml to upload coverage report to codecov --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bf663ce..3596aad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,10 @@ git: env: - GO111MODULE=on # go modules are the default go: [1.12.x, 1.13.x] -gobuild_args: -race -v +script: + - go test -race -v -coverprofile=coverage.txt -covermode=atomic ./... services: - redis-server after_success: - bash ./.travis/benchcmp.sh + - bash <(curl -s https://codecov.io/bash)