diff --git a/.travis.yml b/.travis.yml index f1e97024..11313f1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ before_script: script: - echo "Ensuring code is well formatted"; ! gofmt -s -d . | read - bash -c 'set -e; echo "" > coverage.txt; for d in $(go list ./...); do go test -covermode=count -coverprofile=p.out $d; if [ -f p.out ]; then cat p.out >> coverage.txt; rm p.out; fi; done' - - go test -race ./... + - bash -c 'set -e; for d in $(go list ./...); do go test -race $d; done' after_success: - bash <(curl -s https://codecov.io/bash) branches: