Enable race detection in Travis tests

This commit is contained in:
Jacek Kaniuk 2019-04-12 12:59:04 +02:00
parent bdce4611f1
commit 6c11b147cf
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ for godep_file in ${godep_projects}; do
cd "${project}"
case "${CMD}" in
"test")
godep go "${CMD}" $(go list ./... | grep -v /vendor/ | grep -v vertical-pod-autoscaler/e2e )
godep go test -race $(go list ./... | grep -v /vendor/ | grep -v vertical-pod-autoscaler/e2e )
;;
*)
godep go "${CMD}" ./...