-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcircle.yml
More file actions
37 lines (32 loc) · 1.06 KB
/
circle.yml
File metadata and controls
37 lines (32 loc) · 1.06 KB
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
33
34
35
36
37
machine:
services:
- docker
dependencies:
pre:
- pip install -r requirements.txt
override:
- npm install
- bower install
test:
pre:
- docker pull eris/ipfs
- docker pull eris/decerver
- docker-compose -f spec/docker-compose.yml build
- docker-compose build
override:
# test in isolation
# start with the test fig. wait for contracts to be compiled and deployed.
- "docker-compose -f spec/docker-compose.yml up --no-color --no-recreate > $CIRCLE_ARTIFACTS/test_rnd1_output.log & sleep 60 && go run spec/main.go":
timeout: 900
- docker-compose -f spec/docker-compose.yml kill
# test against main testnet
- "docker-compose up --no-color --no-recreate > $CIRCLE_ARTIFACTS/test_rnd2_output.log & sleep 120 && export TESTNET=true && go run spec/main.go":
timeout: 900
- docker-compose kill
deployment:
hub:
branch: master
commands:
- docker build -t eris/2gather:latest .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push eris/2gather:latest