mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 13:53:43 +03:00
27 lines
582 B
YAML
27 lines
582 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.5"
|
|
- "3.6"
|
|
env:
|
|
- DJANGO=1.11.* DRF=3.7.*
|
|
- DJANGO=1.11.* DRF=3.8.*
|
|
- DJANGO=2.0.* DRF=3.7.*
|
|
- DJANGO=2.0.* DRF=3.8.*
|
|
install:
|
|
- pip install -q Django==$DJANGO djangorestframework==$DRF
|
|
- pip install coveralls
|
|
- pip install -r dj_rest_auth/tests/requirements.pip
|
|
script:
|
|
- coverage run --source=dj_rest_auth setup.py test
|
|
after_success:
|
|
- coveralls
|
|
before_script:
|
|
- flake8 . --config=flake8
|
|
matrix:
|
|
exclude:
|
|
- python: "2.7"
|
|
env: DJANGO=2.0.* DRF=3.7.*
|
|
- python: "2.7"
|
|
env: DJANGO=2.0.* DRF=3.8.*
|