django-notifications/.travis.yml
2017-12-07 08:38:29 +08:00

41 lines
730 B
YAML

language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
- DJANGO=1.7
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.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:
- coverage run --branch --source=notifications manage.py test
matrix:
exclude:
- python: "3.5"
env: DJANGO=1.7
- python: "3.3"
env: DJANGO=1.9
- python: "3.3"
env: DJANGO=1.10
- python: "3.3"
env: DJANGO=1.11
- python: "3.3"
env: DJANGO=2.0
- python: "2.7"
env: DJANGO=2.0
after_success:
- coveralls