bornhack-website/.travis.yml

19 lines
352 B
YAML
Raw Normal View History

2019-03-27 22:58:24 +00:00
cache: pip
language: python
python:
- "3.6"
2019-03-28 00:03:11 +00:00
services:
- postgresql
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 CREATEDB 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
2019-03-27 22:58:24 +00:00
- cd src; python manage.py test