Enable database.
This commit is contained in:
parent
2df37f6976
commit
6c6fd30057
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue