machine:
  services:
    - docker

dependencies:
  override:
    - docker pull centurylink/golang-builder:latest
    - go get -u github.com/Masterminds/glide

test:
  override:
    - glide install
    - docker run -v $(pwd):/src centurylink/golang-builder:latest --test

machine:
  services:
    - docker

dependencies:
  override:
    - docker pull centurylink/golang-builder:latest
    - go get -u github.com/Masterminds/glide

test:
  override:
    - glide install
    - docker run -v $(pwd):/src centurylink/golang-builder:latest --test

deployment:
  ci:
    branch: /.*/
    commands:
      - cp -r ./watchtower $CIRCLE_ARTIFACTS
Copy watchtower binary for ci builds to artifacts.
Copy watchtower binary for ci builds to artifacts.
