From 245a79982ffe3f621d8ebb191dbe63ddacb67d05 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 28 Jan 2018 14:46:06 +0300 Subject: coverage --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 5172bffe..5ea8b20d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,4 +20,7 @@ install: - go get -u "github.com/stretchr/testify/assert" script: - - go test -race -v \ No newline at end of file + - go test -race -v -coverprofile=coverage.txt -covermode=atomic + +after_success: + - bash <(curl -s https://codecov.io/bash) -- cgit v1.2.3