Disable -race as it fails on alpine

This commit is contained in:
Arturo Filastò 2019-12-02 16:09:10 +02:00
parent c99e719a45
commit d6d2490d2c

View File

@ -50,8 +50,9 @@ elif [ "$1" = "release" ]; then
elif [ "$1" = "_travis-linux" ]; then elif [ "$1" = "_travis-linux" ]; then
set -x set -x
$0 linux $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 \ 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 elif [ "$1" = "_travis-osx" ]; then
set -x set -x