From b6704b3290419f33d6458b5b3836a4ace9dcf49d Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Sun, 24 Apr 2016 00:01:44 -0700 Subject: [PATCH] Run testing in parallel --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 7587a4e3..00a51d3d 100644 --- a/circle.yml +++ b/circle.yml @@ -6,5 +6,5 @@ test: override: - bash gofmt.sh - go tool vet . - - go test -timeout 60s -v ./... - - GORACE="halt_on_error=1" go test -race -timeout 120s -v ./... + - case $CIRCLE_NODE_INDEX in 0) go test -timeout 60s -v ./... ;; 1) GORACE="halt_on_error=1" go test -race -timeout 120s -v ./...;; esac: + parallel: true