|
|
|
@ -28,7 +28,7 @@ jobs: |
|
|
|
docker: |
|
|
|
- image: python:3.8-buster |
|
|
|
environment: |
|
|
|
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb |
|
|
|
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5433/psdb |
|
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
|
environment: |
|
|
|
POSTGRES_USER: $POSTGRES_USER |
|
|
|
@ -40,9 +40,9 @@ jobs: |
|
|
|
key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} |
|
|
|
- run: |
|
|
|
name: postgres |
|
|
|
command : dockerize -wait tcp://localhost:5432 -timeout 1m |
|
|
|
command : dockerize -wait tcp://localhost:5433 -timeout 1m |
|
|
|
- run: |
|
|
|
name : test |
|
|
|
name : testing |
|
|
|
command: | |
|
|
|
. venv/bin/activate |
|
|
|
flask db upgrade |
|
|
|
|