django-rest-auth/.travis.yml

27 lines
576 B
YAML
Raw Normal View History

2014-05-02 00:56:10 +04:00
language: python
python:
- "2.7"
- "3.5"
2017-10-25 02:51:45 +03:00
- "3.6"
2014-05-02 00:56:10 +04:00
env:
- DJANGO=1.11.* DRF=3.7.*
2018-06-11 09:46:59 +03:00
- DJANGO=1.11.* DRF=3.8.*
- DJANGO=2.0.* DRF=3.7.*
2018-06-11 09:46:59 +03:00
- DJANGO=2.0.* DRF=3.8.*
2014-05-02 00:56:10 +04:00
install:
- 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
matrix:
exclude:
- python: "2.7"
env: DJANGO=2.0.* DRF=3.7.*
2018-06-11 10:02:02 +03:00
- python: "2.7"
2018-06-11 09:46:59 +03:00
env: DJANGO=2.0.* DRF=3.8.*