From d1c25a3a41f09b4b385a29db66be17753a8d589a Mon Sep 17 00:00:00 2001 From: verzelea Date: Tue, 12 Jan 2021 15:12:44 +0100 Subject: [PATCH] :construction_worker: add config.yml --- .circleci/config.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..d762e84 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,28 @@ +version: 2 +jobs: + build: + docker: + - image: python:3.8-alpine + working_directory: ~/back + steps: + - checkout + - restore_cache: + key: deps9-{{ checksum "Pipfile.lock" }} + - run: + name: set env vars + command: | + export CONDUIT_SECRET='something-really-secret' + export FLASK_APP=/path/to/autoapp.py + export FLASK_DEBUG=1 + pip install -r requirements/dev.txt --user + - save_cache: + key: deps9-{{ checksum "Pipfile.lock" }} + paths: + - "/usr/local/bin" + - "/usr/local/lib/python3.6/site-packages" + +workflows: + version: 2 + build-test: + jobs: + - build \ No newline at end of file