Browse Source

add env variable

mytest-branch
tchawou-daniel 6 years ago
parent
commit
3334c0d571
  1. 5
      .circleci/config.yml

5
.circleci/config.yml

@ -5,6 +5,9 @@ jobs:
- image: circleci/python:3.7.4 - image: circleci/python:3.7.4
steps: steps:
- checkout - checkout
- run: export CONDUIT_SECRET='something-really-secret'
- run: export FLASK_APP=autoapp.py
- run: export FLASK_DEBUG=1
- run: - run:
name: install pyth dependencies name: install pyth dependencies
command: | command: |
@ -20,7 +23,7 @@ jobs:
- image: circleci/python:3.7.4 - image: circleci/python:3.7.4
environment: environment:
DATABASE_URL: postgresql://myuser:somePwd@localhost:5432/myuser DATABASE_URL: postgresql://myuser:somePwd@localhost:5432/myuser
- image: circleci/postgres:9.6.5
- image: circleci/postgres:9.6.5-alpine-ram
environment: environment:
POSTGRES_DB: myuser POSTGRES_DB: myuser
POSTGRES_USER: myuser POSTGRES_USER: myuser

Loading…
Cancel
Save