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