Codebase list golang-github-go-kit-kit / 96ab242 circle.yml
96ab242

Tree @96ab242 (Download .tar.gz)

circle.yml @96ab242raw · history · blame

machine:
  pre:
    - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
  services:
    - docker

dependencies:
  pre:
    - sudo pip install docker-compose
    - docker-compose -f docker-compose-integration.yml up -d --force-recreate

test:
  pre:
    - mkdir -p /home/ubuntu/.go_workspace/src/github.com/go-kit
    - mv /home/ubuntu/kit /home/ubuntu/.go_workspace/src/github.com/go-kit
    - go get github.com/go-kit/kit/...
  override:
    - go test -v -race -tags integration github.com/go-kit/kit/...:
        environment:
          ETCD_ADDR: http://localhost:2379
          CONSUL_ADDR: localhost:8500
          ZK_ADDR: localhost:2181