Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: python:3.6.1
- services:
- - postgres:9.3
- variables:
- POSTGRES_DB: project_ci_test
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: ""
- test:
- script:
- - export DATABASE_URL=postgres://postgres:@postgres:5432/project_ci_test
- - apt-get update -qy
- - apt-get install -y python-dev python-pip
- - pip install -r requirements.txt
- - python manage.py makemigrations
- - python manage.py migrate
- - python manage.py test Project
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement