From c99e719a45000c0c0a8f780fadf448af4045cd12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Mon, 2 Dec 2019 16:01:37 +0200 Subject: [PATCH] Use code coverage commands from probe-engine --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 76757d2..0ab53f9 100755 --- a/build.sh +++ b/build.sh @@ -51,7 +51,7 @@ elif [ "$1" = "_travis-linux" ]; then set -x $0 linux docker run -v `pwd`:/oonibuild -w /oonibuild -t oonibuild \ - go test -v -coverprofile=coverage.cov -covermode=atomic ./... + go test -v -race -coverprofile=coverage.cov -coverpkg=./... ./... elif [ "$1" = "_travis-osx" ]; then set -x @@ -60,7 +60,7 @@ elif [ "$1" = "_travis-osx" ]; then brew upgrade brew install measurement-kit $0 macos - go test -v -coverprofile=coverage.cov -covermode=atomic ./... + go test -v -race -coverprofile=coverage.cov -coverpkg=./... ./... elif [ "$1" = "help" ]; then echo "Usage: $0 linux | macos | release | windows"