|
|
@ -20,9 +20,6 @@ jobs: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/python:3.7.4 |
|
|
- image: circleci/python:3.7.4 |
|
|
environment: |
|
|
environment: |
|
|
CONDUIT_SECRET: 'something-really-secret' |
|
|
|
|
|
FLASK_APP: autoapp.py |
|
|
|
|
|
FLASK_DEBUG: 1 |
|
|
|
|
|
DATABASE_URL: postgresql://myuser:somePwd@localhost:5432/myuser |
|
|
DATABASE_URL: postgresql://myuser:somePwd@localhost:5432/myuser |
|
|
- image: circleci/postgres:9.6.5-alpine-ram |
|
|
- image: circleci/postgres:9.6.5-alpine-ram |
|
|
environment: |
|
|
environment: |
|
|
@ -40,6 +37,9 @@ jobs: |
|
|
command: | |
|
|
command: | |
|
|
. venv/bin/activate |
|
|
. venv/bin/activate |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
|
|
|
export CONDUIT_SECRET='something-really-secret' |
|
|
|
|
|
export FLASK_APP=/path/to/autoapp.py |
|
|
|
|
|
export FLASK_DEBUG=1 |
|
|
flask db upgrade |
|
|
flask db upgrade |
|
|
- run: |
|
|
- run: |
|
|
name: flask test |
|
|
name: flask test |
|
|
|