bornhack-website/.travis.yml

30 lines
499 B
YAML
Raw Normal View History

dist: bionic
2019-03-27 22:58:24 +00:00
cache: pip
language: python
python:
- "3.7"
2019-03-27 22:58:24 +00:00
2019-03-28 00:03:11 +00:00
services:
- postgresql
2019-03-28 00:25:53 +00:00
addons:
postgresql: "9.6"
apt:
packages:
- postgresql-9.6-postgis-2.5
2019-03-28 00:25:53 +00:00
2019-03-27 22:58:24 +00:00
install:
- pip install -r src/requirements/dev.txt
2019-03-28 00:03:11 +00:00
before_script:
- psql -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';"
2019-03-28 00:03:11 +00:00
2019-03-27 22:58:24 +00:00
script:
- cp src/bornhack/environment_settings.py.dist.dev src/bornhack/environment_settings.py
- coverage run --source src/ src/manage.py test src/
2019-03-29 11:06:41 +00:00
after_success:
- codecov