django-defender/.travis.yml
fr0mhell 7400a4945f Feature update Python and Django versions (#126)
* remove Python 3.3
* remove Django 1.8-1.10
* add Celery v4
* update travis config
* update admin URL
* replace MIDDLEWARE_CLASSES with MIDDLEWARE
2019-01-29 07:50:02 -05:00

41 lines
735 B
YAML

language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
env:
- DJANGO=1.11
- DJANGO=2.0
- DJANGO=2.1
services:
- redis-server
install:
- pip install -q django~=$DJANGO.0
- pip install coveralls
- pip install mockredispy
- pip install django-redis-cache
- pip install 'celery<5'
- python setup.py develop
script:
- PYTHONPATH=$PYTHONPATH:$PWD coverage run --source=defender $(which django-admin.py) test defender --settings=defender.travis_settings
- coverage report -m
matrix:
exclude:
- python: "2.7"
env: DJANGO=2.0
- python: "2.7"
env: DJANGO=2.1
- python: "3.4"
env: DJANGO=2.0
- python: "3.4"
env: DJANGO=2.1
after_success:
- coveralls --verbose