From c0fb47b9418e292a38439f0b13897f1ed28021ef Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 12 Jul 2020 22:48:39 +0200 Subject: [PATCH] also create the database maybe --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d2c9ad0b..e9769981 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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