Skip to content

Commit

Permalink
Disable -race as it fails on alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Dec 2, 2019
1 parent c99e719 commit d6d2490
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6d2490

Please sign in to comment.