Update .travis.yml
This commit is contained in:
parent
b02ba87834
commit
1ba3d0a618
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue