Skip to content

Commit b7672d9

Browse files
authored
Merge pull request #1017 from jdufresne/dj2
Upgrade Django 2.0 to the release in tox.ini
2 parents 36d3c03 + c4e398c commit b7672d9

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ matrix:
2727
env: TOXENV=py34-dj111
2828
- python: 3.5
2929
env: TOXENV=py35-dj111
30-
- python: 3.5
31-
env: TOXENV=py35-dj20
3230
- python: 3.6
3331
env: TOXENV=py36-dj111
32+
- python: 3.4
33+
env: TOXENV=py34-dj20
34+
- python: 3.5
35+
env: TOXENV=py35-dj20
3436
- python: 3.6
3537
env: TOXENV=py36-dj20
3638
- env: TOXENV=flake8

tox.ini

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
33
py{27,33,34}-dj18,
4-
py{27,34,35}-dj{19,110,111},
5-
py36-dj111
6-
py{35,36}-dj20
4+
py{27,34,35}-dj{19,110}
5+
py{27,34,35,36}-dj111
6+
py{34,35,36}-dj20
77
flake8,
88
isort,
99
readme
@@ -14,7 +14,7 @@ deps =
1414
dj19: Django>=1.9,<1.10
1515
dj110: Django>=1.10,<1.11
1616
dj111: Django>=1.11,<2.0
17-
dj20: Django==2.0rc1
17+
dj20: Django>=2.0,<2.1
1818
coverage
1919
django_jinja
2020
html5lib
@@ -28,16 +28,20 @@ usedevelop = true
2828
commands = make coverage TEST_ARGS='{posargs:tests}'
2929

3030
[testenv:flake8]
31+
basepython = python3
3132
commands = make flake8
3233
deps = flake8
3334

3435
[testenv:isort]
36+
basepython = python3
3537
commands = make isort_check_only
3638
deps = isort
3739

3840
[testenv:jshint]
41+
basepython = python3
3942
commands = make jshint
4043

4144
[testenv:readme]
45+
basepython = python3
4246
commands = python setup.py check -r -s
4347
deps = readme_renderer

0 commit comments

Comments
 (0)