From d6d2490d2c75884bf7d1f415fdedd90a6189a1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Mon, 2 Dec 2019 16:09:10 +0200 Subject: [PATCH] Disable -race as it fails on alpine --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 0ab53f9..5e69e7d 100755 --- a/build.sh +++ b/build.sh @@ -50,8 +50,9 @@ elif [ "$1" = "release" ]; then elif [ "$1" = "_travis-linux" ]; then set -x $0 linux + # TODO -race does not work on alpine. See: https://travis-ci.org/ooni/probe-cli/builds/619631256#L962 docker run -v `pwd`:/oonibuild -w /oonibuild -t oonibuild \ - go test -v -race -coverprofile=coverage.cov -coverpkg=./... ./... + go test -v -coverprofile=coverage.cov -coverpkg=./... ./... elif [ "$1" = "_travis-osx" ]; then set -x