Enable database.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-03-28 01:03:11 +01:00
parent 2df37f6976
commit 6c6fd30057
1 changed files with 6 additions and 0 deletions

View File

@ -4,9 +4,15 @@ language: python
python:
- "3.6"
services:
- postgresql
install:
- pip install -r src/requirements/dev.txt
before_script:
- psql -c "CREATE ROLE bornhack WITH LOGIN PASSWORD 'bornhack';"
script:
- cp src/bornhack/environment_settings.py.dist.dev src/bornhack/environment_settings.py
- cd src; python manage.py test