Advertisement
Guest User

Untitled

a guest
Mar 9th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. image: python:3.6
  2. $DATABASE_URL: "postgresql://literaclub_backend:secret@localhost:5432/literaclub_backend"
  3. pipelines:
  4. branches:
  5. master:
  6. - step:
  7. script:
  8. - pip install pipenv
  9. - cd backend/
  10. - pipenv install
  11. - pipenv install --dev
  12. - pipenv run python manage.py test apps
  13. definitions:
  14. services:
  15. postgres:
  16. image: postgres
  17. variables:
  18. POSTGRES_DB: "literaclub_backend"
  19. POSTGRES_USER: "literaclub_backend"
  20. POSTGRES_PASSWORD: "secret"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement