When pushing a new commit to a branch, it builds master.
circle.yml:
---
dependencies:
pre:
- mkdir -p download
- test -e download/go1.7.1.linux-amd64.tar.gz || curl -o download/go1.7.1.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz
- sudo rm -rf /usr/local/go
- sudo tar -C /usr/local -xzf download/go1.7.1.linux-amd64.tar.gz
test:
override:
- ${HOME}/.go_workspace/bin/ginkgo -r --randomizeAllSpecs --randomizeSuites --cover --trace --race --progress