Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: python:3.6
- $DATABASE_URL: "postgresql://literaclub_backend:secret@localhost:5432/literaclub_backend"
- pipelines:
- branches:
- master:
- - step:
- script:
- - pip install pipenv
- - cd backend/
- - pipenv install
- - pipenv install --dev
- - pipenv run python manage.py test apps
- definitions:
- services:
- postgres:
- image: postgres
- variables:
- POSTGRES_DB: "literaclub_backend"
- POSTGRES_USER: "literaclub_backend"
- POSTGRES_PASSWORD: "secret"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement