Skip to content

Commit

Permalink
Merge pull request #33 from ovidner/master
Browse files Browse the repository at this point in the history
Added Django 1.10 support
  • Loading branch information
st4lk committed Nov 6, 2016
2 parents aa3dbeb + 7e189aa commit d01f0a8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ python:
- 2.7

env:
- TOXENV=py34-django17
- TOXENV=py34-django18
- TOXENV=py34-django19
- TOXENV=py34-django110
- TOXENV=py35-django18
- TOXENV=py35-django19
- TOXENV=py27-django17
- TOXENV=py35-django110
- TOXENV=py27-django18
- TOXENV=py27-django19
- TOXENV=py27-django110

branches:
only:
Expand All @@ -23,7 +24,7 @@ install: pip install --quiet tox
script: tox

after_script:
- if [ $TOXENV == "py27-django19" ]; then
- if [ $TOXENV == "py27-django110" ]; then
pip install --quiet coveralls;
coveralls;
fi
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Requirements
-----------

- python (2.7, 3.4, 3.5)
- django (1.7, 1.8, 1.9)
- django (1.8, 1.9, 1.10)
- djangorestframework (>= 3.1)
- python-social-auth (>=0.2.9)
- [optional] djangorestframework-jwt (>=1.7.2)
Expand Down Expand Up @@ -446,3 +446,4 @@ Contributors
- Deshraj Yadav, [DESHRAJ](https://github.com/DESHRAJ)
- georgewhewell, [georgewhewell](https://github.com/georgewhewell)
- Ahmed Sa3d, [zee93](https://github.com/zee93)
- Olle Vidner, [ovidner](https://github.com/ovidner)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
django>=1.6,<1.10
django>=1.6,<1.11
djangorestframework<4.0
python-social-auth>=0.2.19
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist=
py{27,34}-django{17,18,19},
py{35}-django{18,19}
py{27,34}-django{18,19,110},
py{35}-django{18,19,110}

[testenv]
setenv =
Expand All @@ -14,16 +14,16 @@ basepython =
deps =
djangorestframework<4.0
python-social-auth==0.2.9
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
py27-django19: djangorestframework-jwt
py27-django19: coverage
django110: Django>=1.10,<1.11
py27-django110: djangorestframework-jwt
py27-django110: coverage
-rrequirements_test.txt
commands =
py.test

[testenv:py27-django19]
[testenv:py27-django110]
commands =
coverage run --source=rest_social_auth -m py.test
coverage report

0 comments on commit d01f0a8

Please sign in to comment.