also create the database maybe

This commit is contained in:
Thomas Steen Rasmussen 2020-07-12 22:48:39 +02:00
parent 438befe863
commit c0fb47b941

View file

@ -14,11 +14,12 @@ addons:
apt:
packages:
- postgresql-10-postgis-2.5
before_script:
- psql -U postgres -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';"
- createdb -O bornhack bornhack
- psql -U postgres -c "CREATE EXTENSION postgis" bornhack
- psql -U postgres -c "CREATE EXTENSION btree_gist" bornhack
- psql -U postgres -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';"
install:
- pip install -r src/requirements/dev.txt