From fd49891632c6ea6c962c840d8ca29411e4a48333 Mon Sep 17 00:00:00 2001 From: Nicholas Thompson Date: Thu, 21 Mar 2019 00:14:49 +0200 Subject: [PATCH] Add codecov to test --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 34d79ec..f32e64a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,7 @@ before_script: script: - golangci-lint run - - go test -v -race ./... + - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... + +after_success: + - bash <(curl -s https://codecov.io/bash)