team-3/.travis.yml

21 lines
427 B
YAML
Raw Normal View History

2016-08-30 17:16:53 +02:00
language: python
2016-09-09 15:51:23 +02:00
2016-09-09 16:37:33 +02:00
cache: pip
2016-08-30 17:16:53 +02:00
python:
2017-05-09 13:32:41 +02:00
- "3.6"
2016-09-09 15:51:23 +02:00
2016-08-30 17:16:53 +02:00
install:
2016-12-05 14:04:11 +01:00
- pip install --upgrade setuptools pip
2017-11-23 00:02:38 +01:00
- pip install -r src/requirements.txt -r src/requirements/dev.txt -r src/requirements-tileserver.txt -r src/requirements/opengl.txt
2016-09-09 15:51:23 +02:00
2016-08-30 17:16:53 +02:00
before_script:
- cd src
2016-09-09 15:51:23 +02:00
2016-08-30 17:16:53 +02:00
script:
2016-08-30 17:49:03 +02:00
- flake8 c3nav
2016-08-30 17:16:53 +02:00
- isort -c -rc .
2017-06-11 16:24:58 +02:00
- python manage.py migrate
- python manage.py collectstatic --noinput
- python manage.py compress