From 831f7d04876a47829c364acf1cb7fd615c710313 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 7 Aug 2017 09:48:45 -0700 Subject: [PATCH] Adding codecov coverage tooling. --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index e705d7a..d3fc7d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,12 @@ go: - 1.7.x - 1.8.x - master + +before_install: + - go get -t -v ./... + +script: + - go test -race -coverprofile=coverage.txt -covermode=atomic + +after_success: + - bash <(curl -s https://codecov.io/bash)