diff --git a/Makefile b/Makefile index ec78c9a6..7b4c61df 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ cover: echo "" > profile.cov go test -i ./... for package in $(PACKAGES) ; do \ - go test -covermode=atomic -coverprofile=tmp.cov gobot.io/x/$$package ; \ + go test -covermode=count -coverprofile=tmp.cov gobot.io/x/$$package ; \ cat tmp.cov >> profile.cov ; \ rm tmp.cov ; \ done ; \ diff --git a/ci/travis.sh b/ci/travis.sh index 0facdf78..ceb2e49a 100755 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -7,7 +7,7 @@ go test -i ./... for package in "${PACKAGES[@]}" do - go test -covermode=atomic -coverprofile=tmp.cov gobot.io/x/$package + go test -covermode=count -coverprofile=tmp.cov gobot.io/x/$package if [ $? -ne 0 ] then EXITCODE=1