dependencies:
  override:
    - go get github.com/pib/goat
    - goat deps
    - ./devsetup.sh

  cache_directories:
    - ".goat"

test:
  override:
    - GOPATH=`pwd`/.goat/deps .goat/deps/bin/ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race

  post:
    - BUILD_TYPE=DEB ./build_heka.sh

dependencies:
  override:
    - go get github.com/pib/goat
    - goat deps
    - ./devsetup.sh

  cache_directories:
    - ".goat"

test:
  override:
    - GOPATH=`pwd`/.goat/deps .goat/deps/bin/ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race

  post:
    - BUILD_TYPE=DEB ./build_heka.sh
    - aws s3 cp ${CIRCLE_ARTIFACTS}/*.deb s3://ownlocal-debs/heka/

Copy .deb files up to s3
Copy .deb files up to s3
