mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-27 17:18:50 +01:00
e2bd1e5cd0
Update travis ci config to test both django 2.2 and latest 3.x
26 lines
455 B
YAML
26 lines
455 B
YAML
language: python
|
|
dist: focal # use LTS 20.04
|
|
|
|
python:
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
|
|
env:
|
|
- DJANGO=2.2.16
|
|
- DJANGO=3.1.2
|
|
|
|
install:
|
|
- pip install -q Django==$DJANGO
|
|
- pip install -q -r requirements.txt
|
|
- pip install -q -r requirements-testing.txt
|
|
|
|
before_script:
|
|
- "pycodestyle --exclude=migrations --ignore=E501,W503,W504 helpdesk"
|
|
|
|
script:
|
|
- coverage run --source='.' quicktest.py helpdesk
|
|
|
|
after_success:
|
|
- codecov
|