Update .travis.yml

This commit is contained in:
Víðir Valberg Guðmundsson 2020-06-05 09:44:53 +02:00 committed by GitHub
parent b02ba87834
commit 1ba3d0a618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -16,13 +16,14 @@ addons:
- postgresql-10
- postgresql-client-10
- postgresql-10-postgis-2.5
before_script:
- psql -U postgres -c "CREATE EXTENSION postgis"
- psql -U postgres -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';"
install:
- pip install -r src/requirements/dev.txt
before_script:
- psql -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';"
script:
- cp src/bornhack/environment_settings.py.dist.dev src/bornhack/environment_settings.py
- coverage run --source src/ src/manage.py test src/