You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
563 B
YAML
18 lines
563 B
YAML
machine:
|
|
environment:
|
|
GODIST: "go1.8.1.linux-amd64.tar.gz"
|
|
|
|
post:
|
|
- mkdir -p download
|
|
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
|
- sudo rm -rf /usr/local/go
|
|
- sudo tar -C /usr/local -xzf download/$GODIST
|
|
|
|
test:
|
|
override:
|
|
- go version
|
|
- bash gofmt.sh
|
|
- go tool vet .
|
|
- 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
|