diff --git a/circle.yml b/circle.yml index 9517679..b57cc2c 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,26 @@ machine: + pre: + - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 + - touch /tmp/ernest.log && chmod 666 /tmp/ernest.log + - curl -L https://github.com/docker/compose/releases/download/1.10.0/docker-compose-`uname -s`-`uname -m` > /home/ubuntu/bin/docker-compose + - chmod +x /home/ubuntu/bin/docker-compose + services: + - docker environment: - ROOTPATH: /home/ubuntu/.go_workspace/src/github.com/ernestio + NATS_URI: nats://127.0.0.1:4222 + NATS_URI_TEST: nats://127.0.0.1:4222 + GOBIN: /home/ubuntu/.go_workspace/bin + CURRENT_INSTANCE: http://ernest.local:80/ + JWT_SECRET: test + IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME" + ERNEST_LOG_FILE: '/tmp/ernest.log' + ROOTPATH: /home/ubuntu/.go_workspace/src/github.com/ernestio/ + ERNEST_CRYPTO_KEY: mMYlPIvI11z20H1BnBmB223355667788 + + hosts: + ernest.local: 127.0.0.1 + + dependencies: pre: - make dev-deps