Skip to content

Commit 8d35b57

Browse files
committed
add testing coverage across python 2.6 to python 3.3
1 parent e1a836a commit 8d35b57

File tree

3 files changed

+42
-7
lines changed

3 files changed

+42
-7
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
language: python
22
env:
3-
- TOX_ENV=django14
4-
- TOX_ENV=django15
5-
- TOX_ENV=django16
3+
- TOX_ENV=py26django14
4+
- TOX_ENV=py26django15
5+
- TOX_ENV=py27django14
6+
- TOX_ENV=py27django15
7+
- TOX_ENV=py27django16
8+
- TOX_ENV=py33django16
69
install: "pip install tox"
710
script: tox -e $TOX_ENV

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@
2626
"License :: OSI Approved :: Apache Software License",
2727
"Operating System :: OS Independent",
2828
"Programming Language :: Python :: 2",
29+
'Programming Language :: Python :: 2.6',
30+
'Programming Language :: Python :: 2.7',
31+
'Programming Language :: Python :: 3',
32+
'Programming Language :: Python :: 3.3',
2933
],
3034
)

tox.ini

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = django14,django15,django16
7+
envlist =
8+
py26django14,
9+
py27django14,
10+
py26django15,
11+
py27django15,
12+
py27django16,
13+
py33django16,
14+
815
downloadcache = {toxworkdir}/.cache
916

1017
[testenv]
@@ -14,17 +21,38 @@ deps =
1421
django-extensions>=0.9
1522
django-nose
1623

17-
[testenv:django14]
24+
[testenv:py26django14]
25+
basepython=python2.6
1826
deps =
1927
{[testenv]deps}
2028
django>=1.4,>1.5
2129

22-
[testenv:django15]
30+
[testenv:py26django15]
31+
basepython=python2.6
2332
deps =
2433
{[testenv]deps}
2534
django>=1.5,>1.6
2635

27-
[testenv:django16]
36+
[testenv:py27django14]
37+
basepython=python2.7
38+
deps =
39+
{[testenv]deps}
40+
django>=1.4,>1.5
41+
42+
[testenv:py27django15]
43+
basepython=python2.7
44+
deps =
45+
{[testenv]deps}
46+
django>=1.5,>1.6
47+
48+
[testenv:py27django16]
49+
basepython=python2.7
50+
deps =
51+
{[testenv]deps}
52+
django>=1.6,>1.5
53+
54+
[testenv:py33django16]
55+
basepython=python3.3
2856
deps =
2957
{[testenv]deps}
3058
django>=1.6,>1.5

0 commit comments

Comments
 (0)