forked from nih-fmrif/mriqcwebapi
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcircle.yml
More file actions
25 lines (23 loc) · 654 Bytes
/
circle.yml
File metadata and controls
25 lines (23 loc) · 654 Bytes
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
dependencies:
override:
- pip install docker-compose
- pip install requests
machine:
environment:
SECRET_KEY: CI
MONGODB_HOST: mongodb
MONGODB_PORT: 27017
API_TOKEN: <secret_token>
API_URL: "http://localhost/docs/api"
services:
- docker
test:
pre:
- mkdir dockereve-master/nginx/.ssl
- touch dockereve-master/nginx/.ssl/mriqcep.crt
- touch dockereve-master/nginx/.ssl/mriqcep.key
- docker-compose -f dockereve-master/docker-compose.yml build
override:
- docker-compose -f dockereve-master/docker-compose.yml up -d
- sleep 60
- python test/testGetPost.py