From ae5ce096eb39760deee812c494c267fb8a496bc5 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Tue, 7 Nov 2017 09:17:19 +0000 Subject: [PATCH] codecov: add test coverage (#550) --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 45107b87..3aef5423 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,7 @@ before_install: - ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/miekg/ || true script: - - go test -race -v -bench=. + - go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic + +after_success: + - bash <(curl -s https://codecov.io/bash)