-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (28 loc) · 721 Bytes
/
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
---
# CircleCI Config to build PyCloud and Deploy Docker Images
# We are deploying with docker
machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
post:
- pip install --upgrade docker-compose
services:
- docker
python:
version: 3.6.0
# We require root
dependencies:
override:
- echo 'Currently Disabled'
# Fake the tests untill we can get this working
test:
override:
- echo 'Currently Disabled'
# Deploy the Docker image
deployment:
master:
branch: master
commands:
- docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
- docker-compose build
- docker-compose push