From ffcea86f47d49632dbae83d508a9a7c08e172b5d Mon Sep 17 00:00:00 2001 From: Leonel Quinteros Date: Tue, 9 Aug 2016 12:29:36 -0300 Subject: [PATCH] Add codecov.io configuration to travis file --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 74aadf3..a2c2da2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,15 @@ language: go -script: go test -v -race ./... go: - 1.5 - 1.6 - tip + +before_install: + - go get -t -v ./... + +script: go test -v -race -coverprofile=coverage.txt -covermode=atomic . + +after_success: + - bash <(curl -s https://codecov.io/bash) +