2014-05-02 00:56:10 +04:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2016-04-11 21:18:27 +03:00
|
|
|
- "3.5"
|
2017-10-25 02:51:45 +03:00
|
|
|
- "3.6"
|
2014-05-02 00:56:10 +04:00
|
|
|
env:
|
2017-10-31 18:34:29 +03:00
|
|
|
- DJANGO=1.8.* DRF=3.6.*
|
|
|
|
- DJANGO=1.11.* DRF=3.7.*
|
2017-12-04 16:42:14 +03:00
|
|
|
- DJANGO=2.0.* DRF=3.7.*
|
2014-05-02 00:56:10 +04:00
|
|
|
install:
|
2017-10-31 18:34:29 +03:00
|
|
|
- pip install -q Django==$DJANGO djangorestframework==$DRF
|
2014-05-13 00:45:23 +04:00
|
|
|
- pip install coveralls
|
2015-12-04 11:43:17 +03:00
|
|
|
- pip install -r rest_auth/tests/requirements.pip
|
2014-05-02 00:56:10 +04:00
|
|
|
script:
|
2014-05-13 00:56:39 +04:00
|
|
|
- coverage run --source=rest_auth setup.py test
|
2014-05-13 00:45:23 +04:00
|
|
|
after_success:
|
|
|
|
- coveralls
|
2015-04-28 11:04:20 +03:00
|
|
|
before_script:
|
|
|
|
- flake8 . --config=flake8
|
2017-12-04 16:42:14 +03:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- python: "2.7"
|
|
|
|
env: DJANGO=2.0.* DRF=3.7.*
|