Skip to content

Commit

Permalink
Local integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adriacidre committed Apr 9, 2017
1 parent 36290bf commit 60247d6
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 60247d6

Please sign in to comment.