From 3e53fd24bd5c0aa8db1166dc5455f6fd4f94a86e Mon Sep 17 00:00:00 2001 From: matcornic Date: Thu, 30 Mar 2017 20:57:35 +0200 Subject: [PATCH] add coverage in travis --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index aa4b37c..e734366 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,5 +13,8 @@ install: - gometalinter -u -i -f script: -- go test ./... -- gometalinter --config=./gometalinter.json ./... \ No newline at end of file +- go test -race -coverprofile=coverage.txt -covermode=atomic ./... +- gometalinter --config=./gometalinter.json ./... + +after_success: +- bash <(curl -s https://codecov.io/bash) \ No newline at end of file