Enable database.
This commit is contained in:
parent
2df37f6976
commit
6c6fd30057
|
@ -4,9 +4,15 @@ language: python
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
|
|
||||||
|
services:
|
||||||
|
- postgresql
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install -r src/requirements/dev.txt
|
- pip install -r src/requirements/dev.txt
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- psql -c "CREATE ROLE bornhack WITH LOGIN PASSWORD 'bornhack';"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cp src/bornhack/environment_settings.py.dist.dev src/bornhack/environment_settings.py
|
- cp src/bornhack/environment_settings.py.dist.dev src/bornhack/environment_settings.py
|
||||||
- cd src; python manage.py test
|
- cd src; python manage.py test
|
||||||
|
|
Loading…
Reference in a new issue