From f148dae87dd8ed6dd076f2fa57b8e6a3adbb1557 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sun, 1 Apr 2018 16:42:33 +0900 Subject: [PATCH] goimagehash: Add codecov --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4563cc1..0e2a842 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,11 @@ go: - 1.9.x - 1.10.x - master + +before_install: + - go get github.com/axw/gocov/gocov + - go get github.com/mattn/goveralls + - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi + +script: + - $HOME/gopath/bin/goveralls -service=travis-ci