From 4d35cebf65909034d55f6403c1b830cd88c66d77 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 22 Jul 2018 17:15:14 +0100 Subject: [PATCH] Add circleci config --- .circleci/config.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..d7bb7f8 --- /dev/null +++ b/.circleci/config.yml @@ -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