Skip to content

Commit 9d5b939

Browse files
committed
improved test matrix
1 parent 58f02a1 commit 9d5b939

File tree

3 files changed

+13
-75
lines changed

3 files changed

+13
-75
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ env:
1717
- TOX_ENV=py35-django19
1818
- TOX_ENV=docs
1919

20+
matrix:
21+
include:
22+
- python: 3.5
23+
env:
24+
- TOX_ENV=py35-django18
25+
- TOX_ENV=py35-django19
26+
2027
install:
2128
- pip install tox
2229
- pip install coveralls

requirements/testing.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
-r optional.txt
2-
coverage
32
mock==1.0.1

tox.ini

Lines changed: 6 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -9,82 +9,14 @@ envlist =
99
flake8
1010

1111
[testenv]
12-
downloadcache = {toxworkdir}/cache/
1312
commands=coverage run -a runtests.py
1413
deps =
15-
-r{toxinidir}/requirements/testing.txt
16-
17-
[testenv:py27-django17]
18-
basepython = python2.7
19-
deps =
20-
Django<1.8
21-
{[testenv]deps}
22-
23-
[testenv:py27-django18]
24-
basepython = python2.7
25-
deps =
26-
Django<1.9
27-
{[testenv]deps}
28-
29-
[testenv:py27-django19]
30-
basepython = python2.7
31-
deps =
32-
git+https://github.com/django/django.git@stable/1.9.x#egg=Django
33-
{[testenv]deps}
34-
35-
[testenv:py32-django17]
36-
basepython = python3.2
37-
deps =
38-
Django<1.8
39-
{[testenv]deps}
40-
41-
[testenv:py32-django18]
42-
basepython = python3.2
43-
deps =
44-
Django<1.9
45-
{[testenv]deps}
46-
47-
[testenv:py33-django17]
48-
basepython = python3.3
49-
deps =
50-
Django<1.8
51-
{[testenv]deps}
52-
53-
[testenv:py33-django18]
54-
basepython = python3.3
55-
deps =
56-
Django<1.9
57-
{[testenv]deps}
58-
59-
[testenv:py34-django17]
60-
basepython = python3.4
61-
deps =
62-
Django<1.8
63-
{[testenv]deps}
64-
65-
[testenv:py34-django18]
66-
basepython = python3.4
67-
deps =
68-
Django<1.9
69-
{[testenv]deps}
70-
71-
[testenv:py34-django19]
72-
basepython = python3.4
73-
deps =
74-
git+https://github.com/django/django.git@stable/1.9.x#egg=Django
75-
{[testenv]deps}
76-
77-
[testenv:py35-django18]
78-
basepython = python3.5
79-
deps =
80-
Django<1.9
81-
{[testenv]deps}
82-
83-
[testenv:py35-django19]
84-
basepython = python3.5
85-
deps =
86-
git+https://github.com/django/django.git@stable/1.9.x#egg=Django
87-
{[testenv]deps}
14+
django17: Django==1.7.10
15+
django18: Django==1.8.6
16+
django19: https://www.djangoproject.com/download/1.9rc1/tarball/
17+
py32: coverage<4
18+
py{27,33,34,35}: coverage
19+
-rrequirements/testing.txt
8820

8921
[testenv:docs]
9022
basepython=python

0 commit comments

Comments
 (0)