-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.circle.yml
32 lines (28 loc) · 1 KB
/
example.circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: 2
jobs:
build:
docker:
- image: node:7.10.0
steps:
- checkout
- setup_remote_docker
- run:
name: Install Docker Compose
command: |
set -x
curl -L https://github.com/docker/compose/releases/download/1.15.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- run:
name: Start docker resources
command: |
set -e
docker-compose -f docker-compose.yml up -d redis
docker-compose -f docker-compose.yml up -d postgres
docker-compose -f docker-compose.yml up -d epochtalk
docker-compose -f docker-compose.yml up -d epochtalk-seed
docker-compose -f docker-compose.yml up -d epoch
- run:
name: run test
command: |
set -eo pipefail
docker-compose -f docker-compose.yml up --exit-code-from epochtalk-api-tests epochtalk-api-tests