From 3219334c3e82bd08e05c404da7157c1f72dacb95 Mon Sep 17 00:00:00 2001 From: klauspost Date: Wed, 16 Sep 2015 12:26:28 +0200 Subject: [PATCH] Add "-race" test to travis. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index b96b91fd4..20b58cc42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,3 +9,4 @@ go: script: - go get ./... - go test -v ./... + - go test -cpu=2 -race -v ./...