diff --git a/.travis.yml b/.travis.yml index a079d9eb8f..69f4bd731c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -214,3 +214,12 @@ matrix: submodules: false # avoid cloning ethereum/tests script: - go run build/ci.go purge -store gethstore/builds -days 14 + + - name: Race Detector for Swarm + if: repo = ethersphere/go-ethereum AND type = cron + os: linux + dist: trusty + go: 1.11.x + git: + submodules: false # avoid cloning ethereum/tests + script: ./build/travis_keepalive.sh go test -v -timeout 20m -race ./swarm...