diff --git a/.travis/script.sh b/.travis/script.sh index bcb158710..7004b42b6 100755 --- a/.travis/script.sh +++ b/.travis/script.sh @@ -13,6 +13,11 @@ fi if [ ${TESTMODE} == "unit" ]; then ginkgo -r -v -cover -randomizeAllSpecs -randomizeSuites -trace -skipPackage integrationtests,benchmark + # run internal and http3 tests with the Go race detector + # The Go race detector only works on amd64. + if [ ${TRAVIS_GOARCH} == 'amd64' ]; then + ginkgo -r -v -race -randomizeAllSpecs -randomizeSuites -trace internal http3 + fi fi if [ ${TESTMODE} == "integration" ]; then