From 60f5a1f7e732ae6cd02051f39bc8d3ea0e80f306 Mon Sep 17 00:00:00 2001 From: Evgeny Kuznetsov Date: Sat, 2 Nov 2019 19:39:26 +0300 Subject: chore: add badges --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index c401935..7fb90ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,13 @@ before_script: script: - golangci-lint run - - go test -v -race ./... + - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... - go build cache: directories: - $HOME/.cache/go-build - $HOME/gopath/pkg/mod + +after_success: + - bash <(curl -s https://codecov.io/bash) -- cgit v1.2.3