dependencies:
    pre:
        - go get -u golang.org/x/tools/cmd/vet;


test:
    override:
    # Put each test command on its own line.
        - go tool vet .
        - case $CIRCLE_NODE_INDEX in 0) go test -timeout 300s -v ./... ;; 1) GORACE="halt_on_error=1" go test -race -timeout 600s -v ./... ;; esac:
            parallel: true
