dependencies:
  pre:
    # clear out the workspace to remove any cached go dependencies,
    # in case they change upstream
    - rm -rf /home/ubuntu/.go_workspace
  override:
    - go get github.com/axw/gocov/gocov
    - go get github.com/mattn/goveralls
    - go get -v -t -d ./...
    - go build -v
  post:
    - go vet
test:
  override:
    - go test -v -race ./...
  post:
    - goveralls --package github.com/tleyden/awsutil -service circle-ci -repotoken $COVERALLS_TOKEN
dependencies:
  pre:
    # clear out the workspace to remove any cached go dependencies,
    # in case they change upstream
    - rm -rf /home/ubuntu/.go_workspace
  override:
    - go get -v -t -d ./...
    - go build -v
  post:
    - go vet
test:
  override:
    - go test -v -race ./...
  post:
    - go get github.com/axw/gocov/gocov
    - go get github.com/mattn/goveralls
    - goveralls --package github.com/tleyden/awsutil -service circle-ci -repotoken $COVERALLS_TOKEN
Move goveralls deps down to test/post
Move goveralls deps down to test/post
