mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-03-16 21:30:24 +00:00
31 lines
536 B
YAML
31 lines
536 B
YAML
language: python
|
|
|
|
python:
|
|
- "3.5"
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
|
|
env:
|
|
- DJANGO=2.2
|
|
- DJANGO=3.0
|
|
|
|
install:
|
|
# command to install dependencies
|
|
- "pip install coveralls"
|
|
- "pip install pytz" # Needed for tests
|
|
- pip install -q Django==$DJANGO
|
|
- "pip install ."
|
|
# command to run tests
|
|
|
|
script:
|
|
- SAMPLE_APP=1 coverage run --branch --source=notifications manage.py test
|
|
- coverage run --branch --source=notifications manage.py test
|
|
|
|
matrix:
|
|
exclude:
|
|
- python: "3.5"
|
|
env: DJANGO=3.0
|
|
|
|
after_success:
|
|
- coveralls
|