From 13d49d4606eb801b8f01ae542b4afc4c6ee3d84a Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Thu, 2 Mar 2017 09:43:01 -0800 Subject: [PATCH] Fix coveralls (#136) --- .travis.yml | 2 +- test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b1cf3d..64f0380 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,4 +18,4 @@ before_install: branches: only: [master] after_success: - - $HOME/gopath/bin/goveralls -service=travis-ci + - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken $COVERALLS_TOKEN diff --git a/test.sh b/test.sh index 246051f..436d2fb 100755 --- a/test.sh +++ b/test.sh @@ -41,8 +41,8 @@ cp -R cmd/* src/github.com/pelletier/go-toml/cmd go build -o test_program_bin src/github.com/pelletier/go-toml/cmd/test_program.go # Run basic unit tests -go test github.com/pelletier/go-toml \ - github.com/pelletier/go-toml/cmd/tomljson +go test github.com/pelletier/go-toml -v -covermode=count -coverprofile=coverage.out +go test github.com/pelletier/go-toml/cmd/tomljson # run the entire BurntSushi test suite if [[ $# -eq 0 ]] ; then