diff --git a/.circleci/config.yml b/.circleci/config.yml index 154d9c8..3f60036 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,6 +25,7 @@ jobs: FLASK_APP: /home/circleci/repo/autoapp.py CONDUIT_SECRET: 'something-really-secret' FLASK_DEBUG: 1 + POSTGRES_PORT: 5432 - image: circleci/postgres:9.6.2-alpine environment: POSTGRES_USER: postgres @@ -43,6 +44,12 @@ jobs: . venv/bin/activate flask db migrate flask test + environment: + DATABASE_URL: postgresql://postgres:root@localhost:5432/postgres + FLASK_APP: /home/circleci/repo/autoapp.py + CONDUIT_SECRET: 'something-really-secret' + FLASK_DEBUG: 1 + POSTGRES_PORT: 5432 deploy-heroku: docker: - image : buildpack-deps:trusty