diff --git a/.circleci/config.yml b/.circleci/config.yml index bd6d99d..43674f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -77,29 +77,7 @@ jobs: . venv/bin/activate sleep 1 flask db upgrade - environment: - CONDUIT_SECRET: 'something-really-secret' - FLASK_APP: /home/circleci/repo/autoapp.py - DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/myUsr - FLASK_DEBUG: 1 - POSTGRES_USER: postgres - POSTGRES_DB: bdtest - POSTGRES_PASSWORD: somePwd - POSTGRES_PORT: 5432 - - - - - # run tests! - # this example uses Django's built-in test-runner - # other common Python testing frameworks include pytest and nose - # https://pytest.org - # https://nose.readthedocs.io - - run: - name: run tests - command: | - . venv/bin/activate - flask db migrate + sleep 1 flask test environment: CONDUIT_SECRET: 'something-really-secret' diff --git a/Procfile b/Procfile index a96c523..60df632 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: flask db upgrade;gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3 +web: gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3