From 3e70464c7c406bb1772d70bcbdc94874e6825d15 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 1 Apr 2016 10:07:28 +0800 Subject: [PATCH] fix testing script. Signed-off-by: Bo-Yi Wu --- .gitignore | 1 + .travis.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0bfd2ac..63082bc 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ bin/* .DS_Store *.cert *.key +coverage.out diff --git a/.travis.yml b/.travis.yml index a8236d0..2ff7e40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,6 @@ install: - go get github.com/mattn/goveralls script: - - go test -v -covermode=count -coverprofile=coverage.out - - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out + - cd gopush && go test -v -covermode=count -coverprofile=coverage.out + - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=gopush/coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN