Update .travis.yml
This commit is contained in:
parent
b02ba87834
commit
1ba3d0a618
|
@ -16,13 +16,14 @@ addons:
|
||||||
- postgresql-10
|
- postgresql-10
|
||||||
- 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/
|
||||||
|
|
Loading…
Reference in a new issue