|
|
@ -3,7 +3,7 @@ version: 2 |
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
build: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/python:latest |
|
|
|
|
|
|
|
|
- image: circleci/python:3.9 |
|
|
auth: |
|
|
auth: |
|
|
username: $DOCKER_ID |
|
|
username: $DOCKER_ID |
|
|
password: $DOCKER_PASSWORD |
|
|
password: $DOCKER_PASSWORD |
|
|
@ -13,7 +13,7 @@ jobs: |
|
|
CONDUIT_SECRET: $CONDUIT_SECRET |
|
|
CONDUIT_SECRET: $CONDUIT_SECRET |
|
|
FLASK_APP: ~/autoapp.py |
|
|
FLASK_APP: ~/autoapp.py |
|
|
FLASK_DEBUG: 1 |
|
|
FLASK_DEBUG: 1 |
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
|
|
|
|
|
|
- image: circleci/postgres:9.6.2 |
|
|
auth: |
|
|
auth: |
|
|
username: $DOCKER_ID |
|
|
username: $DOCKER_ID |
|
|
password: $DOCKER_PASSWORD |
|
|
password: $DOCKER_PASSWORD |
|
|
@ -24,7 +24,7 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin |
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin |
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages |
|
|
|
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.9/site-packages |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} |
|
|
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} |
|
|
- run: |
|
|
- run: |
|
|
|