bornhack-website/.travis.yml
Thomas Steen Rasmussen ab626cc3f6 we still need the user
2020-07-12 23:07:55 +02:00

30 lines
507 B
YAML

dist: bionic
cache: pip
language: python
python:
- "3.7"
services:
- postgresql
addons:
postgresql: 10
apt:
packages:
- postgresql-10-postgis-2.5
before_script:
- psql -U postgres -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';"
install:
- pip install -r src/requirements/dev.txt
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