Skip to content

Commit b284e9a

Browse files
author
xray7224
committed
Add python 2.6 to travis, tox and setup file
1 parent 548c77e commit b284e9a

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: python
22
python:
3+
- "2.6"
34
- "2.7"
45

56
install:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ guidelines <https://django-oauth-toolkit.readthedocs.org/en/latest/contributing.
4141
Requirements
4242
------------
4343

44-
* Python 2.7, 3.3
44+
* Python 2.6 2.7, 3.3
4545
* Django 1.4, 1.5, 1.6
4646

4747
Installation

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def get_version(package):
3030
"Framework :: Django",
3131
"License :: OSI Approved :: BSD License",
3232
"Operating System :: OS Independent",
33+
"Programming Language :: Python :: 2.6"
3334
"Programming Language :: Python :: 2.7",
3435
"Programming Language :: Python :: 3.3",
3536
"Topic :: Software Development :: Libraries :: Python Modules",

tox.ini

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
11
[tox]
2-
envlist = py27-django14,py27-django15,py33-django15,py27-django16,py33-django16
2+
envlist = py26-django14,py26-django15,py26-django16,py27-django14,py27-django15,py33-django15,py27-django16,py33-django16
33

44
[testenv]
55
downloadcache = {toxworkdir}/cache/
66
commands={envpython} runtests.py
77
deps =
88
-r{toxinidir}/requirements/optional.txt
99

10+
[testenv:py26-django14]
11+
basepython = python2.6
12+
deps =
13+
Django==1.4.8
14+
{[testenv]deps}
15+
16+
[testenv:py26-django15]
17+
basepython = python2.6
18+
deps =
19+
Django==1.5.4
20+
{[testenv]deps}
21+
22+
[testenv:py26-django16]
23+
basepython = python2.6
24+
deps =
25+
Django==1.6.1
26+
{[testenv]deps}
27+
1028
[testenv:py27-django14]
1129
basepython = python2.7
1230
deps =

0 commit comments

Comments
 (0)