12a1c9a0ce
* update font-awesome to 5.12.1 * prefetch members to considerably lower number of SQL queries for team list view * add facilities app with facility feeedback functionality, working on #383 * Add GeoDjango (django.contrib.gis) and switch to PostGIS db backend. Add location field for Facility model. Add django-leaflet to requirements. * better migration names * tweaking travis config, we use py3.7 now, and add postgis * Add qr code support for facilities (visible in the admin). Make facitilies browsable without logging in. Feedback can be submitted without logging in, given the facility UUID, which is not revealed to unauthenticated users. * show quickfeedback icons when creating and when reading feedback * only show anon option if user is logged in * django-reversion somehow went missing from requirements
30 lines
499 B
YAML
30 lines
499 B
YAML
dist: bionic
|
|
|
|
cache: pip
|
|
|
|
language: python
|
|
python:
|
|
- "3.7"
|
|
|
|
services:
|
|
- postgresql
|
|
|
|
addons:
|
|
postgresql: "9.6"
|
|
apt:
|
|
packages:
|
|
- postgresql-9.6-postgis-2.5
|
|
|
|
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/
|
|
|
|
after_success:
|
|
- codecov
|