2014-05-02 00:56:10 +04:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
env:
|
2015-04-13 16:05:10 +03:00
|
|
|
- DJANGO=1.5.12
|
|
|
|
- DJANGO=1.6.11
|
|
|
|
- DJANGO=1.7.7
|
2015-04-17 10:53:46 +03:00
|
|
|
- DJANGO=1.8
|
2014-10-02 15:14:09 +04:00
|
|
|
matrix:
|
|
|
|
exclude:
|
2015-08-14 16:12:08 +03:00
|
|
|
- python: "2.6"
|
|
|
|
env: DJANGO=1.5.12
|
2014-10-02 15:14:09 +04:00
|
|
|
- python: "2.6"
|
2015-04-13 16:05:10 +03:00
|
|
|
env: DJANGO=1.7.7
|
2015-04-17 10:53:46 +03:00
|
|
|
- python: "2.6"
|
|
|
|
env: DJANGO=1.8
|
2014-05-02 00:56:10 +04:00
|
|
|
install:
|
|
|
|
- pip install -q Django==$DJANGO --use-mirrors
|
2014-05-13 00:45:23 +04:00
|
|
|
- pip install coveralls
|
2014-10-09 14:24:26 +04:00
|
|
|
- pip install -r test_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
|