dependencies:
  post:
    - gem install fpm
    - sudo apt-get install rpm
    - go get github.com/ctdk/gox
test:
  post:
    - cd packaging && /bin/bash packaging.sh
general:
  artifacts:
    - packaging/artifacts
deployment:
  production:
    branch: releases
    commands:
      - cd packaging && /bin/bash deploy.sh

machine:
  environment:
    GODIST: "go1.7.3.linux-amd64.tar.gz"
dependencies:
  pre:
    - 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
  post:
    - gem install fpm
    - sudo apt-get install rpm
    - go get github.com/ctdk/gox
test:
  post:
    - cd packaging && /bin/bash packaging.sh
general:
  artifacts:
    - packaging/artifacts
deployment:
  production:
    branch: releases
    commands:
      - cd packaging && /bin/bash deploy.sh

Revert "back out of using go1.7.3 until in-mem search gets fixed"
Revert "back out of using go1.7.3 until in-mem search gets fixed"

This reverts commit 2a5983218a68c571f28d8f4169f90b6051a05771.
