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

View file

@ -17,12 +17,13 @@ addons:
- postgresql-client-10 - postgresql-client-10
- postgresql-10-postgis-2.5 - 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: install:
- pip install -r src/requirements/dev.txt - pip install -r src/requirements/dev.txt
before_script:
- psql -c "CREATE ROLE bornhack WITH SUPERUSER 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
- coverage run --source src/ src/manage.py test src/ - coverage run --source src/ src/manage.py test src/