1
Fork 0

Add circleci config

This commit is contained in:
Jake Howard 2018-07-22 17:15:14 +01:00
parent c3667ec4b9
commit 4d35cebf65
Signed by: jake
GPG key ID: 57AFB45680EDD477

17
.circleci/config.yml Normal file
View file

@ -0,0 +1,17 @@
version: 2
jobs:
build:
docker:
- image: circleci/python:3-stretch
working_directory: ~/website
steps:
- checkout
- setup_remote_docker
- run:
name: Install Docker Compose
command: |
curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-`uname -s`-`uname -m` > ~/docker-compose
chmod +x ~/docker-compose
sudo mv ~/docker-compose /usr/local/bin/docker-compose
- run: docker-compose build
- run: ./production.sh build