Skip to content

Commit 7f28cd6

Browse files
committed
Add tox configuration.
1 parent 2a8b94b commit 7f28cd6

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.egg*
22
*.py[co]
3+
.tox/
34
build/
45
dist/
56
pip-log.txt

Diff for: tox.ini

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[tox]
2+
envlist: python2.6-django1.2, python2.7-django1.2,
3+
python2.6-django1.3, python2.7-django1.3,
4+
python2.6-django1.4, python2.7-django1.4
5+
6+
[testenv]
7+
commands = python setup.py test
8+
9+
[testenv:python2.6-django1.2]
10+
basepython = python2.6
11+
deps = django==1.2.7
12+
13+
[testenv:python2.7-django1.2]
14+
basepython = python2.7
15+
deps = django==1.2.7
16+
17+
[testenv:python2.6-django1.3]
18+
basepython = python2.6
19+
deps = django==1.3.3
20+
21+
[testenv:python2.7-django1.3]
22+
basepython = python2.7
23+
deps = django==1.3.3
24+
25+
[testenv:python2.6-django1.4]
26+
basepython = python2.6
27+
deps = django==1.4.1
28+
29+
[testenv:python2.7-django1.4]
30+
basepython = python2.7
31+
deps = django==1.4.1

0 commit comments

Comments
 (0)