team-3/.travis.yml
2018-11-29 17:51:12 +01:00

24 lines
468 B
YAML

language: python
cache: pip
dist: xenial
sudo: required
python:
- "3.6"
- "3.7"
install:
- pip install --upgrade setuptools pip
- pip install -r src/requirements.txt -r src/requirements/dev.txt -r src/requirements-tileserver.txt -r src/requirements/opengl.txt
before_script:
- cd src
script:
- flake8 c3nav
- isort -c -rc .
- python manage.py migrate
- python manage.py collectstatic --noinput
- python manage.py compress