Skip to content

Commit aa28bfa

Browse files
committed
add django2.1 to tox and travis and fix test docs
1 parent 0a16fea commit aa28bfa

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
matrix:
1313
- DJANGO='1.11'
1414
- DJANGO='2.0'
15+
- DJANGO='2.1'
1516

1617
matrix:
1718
include:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ Running Tests
148148
-------------------
149149
Clone the repository, go to it's base directory and run the following commands.
150150

151-
pip install -r requirements.in
152-
pip install -r test_requirements.in
153-
export PYTHONPATH="$(pwd)"
154-
export DJANGO_SETTINGS_MODULE='tests.settings'
155-
django-admin test
151+
pip install tox
152+
tox
156153

154+
Or if you want a specific environment
155+
156+
tox -e py35-dj2.0
157157

158158
Authors
159159
-------

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
skipsdist = True
33
envlist =
4-
py{35,36}-dj{1.11,2.0}
4+
py{35,36}-dj{1.11,2.0, 2.1}
55
pycodestyle,isort,pylint
66

77
[testenv]
@@ -15,6 +15,7 @@ deps =
1515
-rtest_requirements.in
1616
dj1.11: Django~=1.11.0
1717
dj2.0: Django~=2.0.0
18+
dj2.1: Django~=2.1.0
1819

1920
[testenv:flake8]
2021
usedevelop = True

0 commit comments

Comments
 (0)