forked from jpbruinsslot/docker-django
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
28 lines (24 loc) · 682 Bytes
/
circle.yml
File metadata and controls
28 lines (24 loc) · 682 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
26
27
28
#####
# Circle CI
#
# For running docker images on circle ci, see: https://circleci.com/docs/docker
# For circle.yml explanation, see: https://circleci.com/docs/manually
# Python specific configuration, see: https://circleci.com/docs/language-python
#####
machine:
services:
- docker
dependencies:
pre:
- docker info
- sudo pip install docker-compose --upgrade
post:
- docker-compose up -d
test:
override:
- sleep 10
- curl --retry 10 --retry-delay 5 -vk https://localhost:9443
# Running tests 'inside' container
# test:
# override:
# - ./docker-compose run -d app python /srv/django/starter/manage.py test